Re: Problems compiling Qt 3.3.4 on windows with Cygwin/MinGW
Christian Ehrlicher <[email protected]> Thu, 26 Jan 2006 06:30:00 +0100
| Newsgroups | gmane.comp.kde.devel.cygwin |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 j kutchka schrieb: > 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. I don't try to compile it udner cygwin for a long time because it works fine with mingw. So Please use MinGW. Christian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD2F5YHAIuqbOiZ+kRAjPuAJ4/ykxd3mY3BdtXO68dDWJRwpTNCwCgxHT3 FQ+m3y/GoLBoD+bcdBhfP4E= =eXOF -----END PGP SIGNATURE-----