Problems compiling Qt 3.3.4 on windows with Cygwin/MinGW

j kutchka jkutchka at gmail.com
Thu Jan 26 00:50:19 CET 2006


I cannot compile Qt with Cygwin/MinGW when using the source from the CVS
repository.  I followed the steps on
http://qtwin.sourceforge.net/qt3-win32/compile-mingw.php and
http://qtwin.sourceforge.net/qt3-win32/compile-cygwin.php for each but both
attemps failed with the same error messages:

g++ -c -w -O2 -fno-exceptions -fno-rtti -DQT_SHARED -DQT_THREAD_SUPPORT
-DQT_ACC
ESSIBILITY_SUPPORT -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DUNICODE
-DQT_THREAD_SUPPO
RT -DQT_NO_CUPS -DQT_NO_NIS -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_PNG
-DQT_NO_BIG_
CODECS -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE
-DQT_NO_STYL
E_WINDOWSXP -DQT_DLL -DQT_MAKEDLL -I"tmp" -I"3rdparty\libjpeg"
-I"3rdparty\zlib"
 -I"C:\cygwin\home\jkutchka\qt-3\include"
-I"C:\cygwin\home\jkutchka\qt-3\src" -
I"tmp\moc\release-shared-mt"
-I"c:\cygwin\home\jkutchka\qt-3\mkspecs\win32-g++"
-o tmp\obj\release-shared-mt\qcursor_win.o kernel\qcursor_win.cpp
kernel\qcursor_win.cpp: In constructor `QCursor::QCursor(HICON__*)':
kernel\qcursor_win.cpp:134: error: a casts to a type other than an integral
or e
numeration type cannot appear in a constant-expression


where the last error is repeated forseveral more lines of code in the same
area.

Thanks,
Jeffrey Kutchka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-cygwin/attachments/20060126/051be6c1/attachment.html 


More information about the kde-cygwin mailing list