2011-11-17 10:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)

* contrib/hbqt/qtcore/qth/QLibraryInfo.qth
    ! Guarded: QLibraryInfo::buildDate() to be avialble 
       only for Qt 4.6 and above. Function call stays as is, only 
       return value will be nil.
This commit is contained in:
Pritpal Bedi
2011-11-17 18:50:37 +00:00
parent 4ba52ddb70
commit f02efc4f69
2 changed files with 8 additions and 0 deletions

View File

@@ -16,6 +16,12 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-11-17 10:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/QLibraryInfo.qth
! Guarded: QLibraryInfo::buildDate() to be avialble
only for Qt 4.6 and above. Function call stays as is, only
return value will be nil.
2011-11-17 09:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/hbwapi.h
* harbour/contrib/hbwin/wapi_winbase.c

View File

@@ -46,7 +46,9 @@ enum LibraryLocation { PrefixPath, DocumentationPath, HeadersPath, LibrariesPath
<PROTOS>
QDate buildDate (){
#if QT_VERSION >= 0x040600
hbqt_create_objectGC( hbqt_gcAllocate_QDate( new QDate( QLibraryInfo::buildDate() ), true ) , "HB_QDATE" );
#endif
}
QString buildKey (){
hb_retstr_utf8( QLibraryInfo::buildKey().toUtf8().data() );