On Wed, 15 Apr 2009, [email protected] wrote:
Hi,
> * harbour/contrib/gtqtc/gtqtc.cpp
> * harbour/contrib/gtqtc/gtqtc.h
> * harbour/contrib/gtqtc/moc_gtqtc.cpp
> * harbour/contrib/gtqtc/tests/demoqtc.prg
> ! More complete.
> No more (IMO) Windows specific calls.
> Please let me know if it compiles fine on *nixes ?
Below is output from current GTQTC compilation in Linux.
BTW in contrib/hbqt/hbqt.h[60] we have:
#define QT_VERSION 0x040500
Is it necessary?
It causes that the following warning is generated for each hbqt file:
In file included from ../../hbqt.h:62,
from ../../hbqt_*:??:
/usr/include/Qt/qglobal.h:53:1: warning: "QT_VERSION" redefined
best regards,
Przemek
../../gtqtc.h:278: error: ‘MAX_PATH’ was not declared in this scope
../../gtqtc.cpp:202: error: ‘HINSTANCE’ has not been declared
../../gtqtc.cpp: In function ‘HB_GTWVT* hb_gt_wvt_New(_HB_GT_BASE*, int, int)’:
../../gtqtc.cpp:205: error: ‘OSVERSIONINFO’ was not declared in this scope
../../gtqtc.cpp:205: error: expected `;' before ‘osvi’
../../gtqtc.cpp:208: error: ‘osvi’ was not declared in this scope
../../gtqtc.cpp:209: error: ‘GetVersionEx’ was not declared in this scope
../../gtqtc.cpp:231: error: ‘FW_NORMAL’ was not declared in this scope
../../gtqtc.cpp:232: error: ‘DEFAULT_QUALITY’ was not declared in this scope
../../gtqtc.cpp:233: error: ‘struct HB_GTWVT’ has no member named ‘fontFace’
../../gtqtc.cpp:233: error: ‘struct HB_GTWVT’ has no member named ‘fontFace’
../../gtqtc.cpp:248: error: ‘OEM_CHARSET’ was not declared in this scope
../../gtqtc.cpp:250: error: ‘VER_PLATFORM_WIN32_WINDOWS’ was not declared in
this scope
../../gtqtc.cpp: At global scope:
../../gtqtc.cpp:675: error: ‘DWORD’ does not name a type
../../gtqtc.cpp: In function ‘void hb_gt_wvt_Init(_HB_GT_BASE*, HB_FHANDLE,
HB_FHANDLE, HB_FHANDLE)’:
../../gtqtc.cpp:803: error: ‘HANDLE’ was not declared in this scope
../../gtqtc.cpp:803: error: expected `;' before ‘hInstance’
../../gtqtc.cpp:811: error: ‘HINSTANCE’ was not declared in this scope
../../gtqtc.cpp: In function ‘BOOL hb_gt_wvt_SetMode(_HB_GT_BASE*, int, int)’:
../../gtqtc.cpp:908: error: ‘struct HB_GTWVT’ has no member named ‘fontFace’
../../gtqtc.cpp: In function ‘int hb_gt_wvt_ReadKey(_HB_GT_BASE*, int)’:
../../gtqtc.cpp:964: error: ‘hb_gt_wvt_ProcessMessages’ was not declared in
this scope
../../gtqtc.cpp: In function ‘BOOL hb_gt_wvt_Info(_HB_GT_BASE*, int,
HB_GT_INFO*)’:
../../gtqtc.cpp:1149: error: ‘struct HB_GTWVT’ has no member named ‘fontFace’
../../gtqtc.cpp:1151: error: ‘struct HB_GTWVT’ has no member named ‘fontFace’
../../gtqtc.cpp:1151: error: ‘struct HB_GTWVT’ has no member named ‘fontFace’
../../gtqtc.cpp:1230: error: ‘struct HB_GTWVT’ has no member named ‘fontFace’
../../gtqtc.cpp:1413: error: ‘WindowCloseButtonHint’ is not a member of ‘Qt’
../../gtqtc.cpp:1415: error: ‘WindowCloseButtonHint’ is not a member of ‘Qt’
../../gtqtc.cpp: In member function ‘void ConsoleArea::resetWindowSize()’:
../../gtqtc.cpp:1590: error: ‘struct HB_GTWVT’ has no member named ‘fontFace’
../../gtqtc.cpp: In constructor ‘MainWindow::MainWindow()’:
../../gtqtc.cpp:2491: error: ‘WindowCloseButtonHint’ is not a member of ‘Qt’
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour