On Thu, 16 Apr 2009, vouch...@users.sourceforge.net wrote:

Hi,

> 2009-04-16 00:37 UTC-0800 Pritpal Bedi (prit...@vouchcac.com)
>   * harbour/contrib/gtqtc/gtqtc.cpp
>   * harbour/contrib/gtqtc/gtqtc.h
>     ! Fix to many unsuppoted defines on *nixes.
>       Przemek, please compile again. Probably by now it will
>       only 'WindowCloseButtonHint' error may appear. But reading
>       the documents QT nowhere specifies that it is platform
>       dependant member. Can you please comment out 
>       #define QT_VERSION 0x040500 in hbqt.h and compile again.
>       It is left-over residual. 

Thank you very much.
There is still unportable code which tries to detect MS-Windows version:

../../gtqtc.cpp:173: error: ‘OSVERSIONINFO’ was not declared in this scope
../../gtqtc.cpp:173: error: expected `;' before ‘osvi’
../../gtqtc.cpp:175: error: ‘osvi’ was not declared in this scope
../../gtqtc.cpp:176: error: ‘GetVersionEx’ was not declared in this scope

The 'WindowCloseButtonHint' is probably caused by the QT version.
BTW Can we remove this line:
   #define QT_VERSION 0x040500
from hbqt.h?
Why we have it? Is it necessary for MS-Windows QT ports?

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to