Am Sonntag, 12. März 2006 19:44 schrieb Abdelrazak Younes: > This is Trolltech fault, from the documentation: > > Q_OS_X11 > Defined for the X Window System. > Q_OS_MAC9 > Defined for Mac OS 9. > Q_OS_MACX > Defined for Mac OS X. > Q_OS_WIN32 > Defined on Win32 (Windows 98/ME and Windows NT/2000/XP). > > Should I provide a corrected patch or have you done something Juergen?
Sorry, there was also confusion on my side. Unfortunately the code (qglobal.h of qt 4.1.0) does prefer something different: #if defined(Q_OS_DARWIN) # define Q_OS_MAC /* Q_OS_MAC is mostly for compatiblity, but also more clear */ # define Q_OS_MACX /* Q_OS_MACX is only for compatiblity.*/ #endif So a patch is not strictly needed, but it might still be a good idea to be consistent with the qt2 version. Georg