Re: [Interest] Qt5 on mingw fails immediately
Hi Jason. I understand its long time you make this thread but unfortunately I am in the same boat and I just want to know how you manage to fixed the problem. Best Regards Obaro This e-mail contains privileged and confidential information intended for the use of the addressees named above. If you are not the intended recipient of this e-mail, you are hereby notified that you must not disseminate, copy or take any action in respect of any information contained in it. If you have received this e-mail in error, please notify the sender immediately by e-mail and immediately destroy this e-mail and its attachments. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Qt5 on mingw fails immediately
Jason H said: Can anyone tell me how to build Qt on windows [successfully]? Could you try using MSVC instead? - Original Message - From: Jason H scorp...@yahoo.com To: Jason H scorp...@yahoo.com; 1+1=2 dbzhang...@gmail.com; interest@qt-project.org interest@qt-project.org Cc: Sent: Monday, March 19, 2012 4:38 PM Subject: Re: [Interest] Qt5 on mingw fails immediately I'm being flooded with without dllimport attribute after being referenced with dll linkage warnings: ..\..\include/QtCore/../../src/corelib/tools/qrect.h:751: warning: 'QRectF QRectF::united(const QRectF) const' redeclared without dllimport attribute after being referenced with dll linkage Help? - Original Message - From: Jason H scorp...@yahoo.com To: 1+1=2 dbzhang...@gmail.com; interest@qt-project.org interest@qt-project.org Cc: Sent: Monday, March 19, 2012 4:08 PM Subject: Re: [Interest] Qt5 on mingw fails immediately Well since that was the case, and not my fault, I just pulled it from the win32-g++ mkspec It seems to be building. I'll let you know how it goes tomorrow. Man, I wish there was an EC2 instance for building Qt! - Original Message - From: 1+1=2 dbzhang...@gmail.com To: interest@qt-project.org Cc: Sent: Monday, March 19, 2012 3:00 PM Subject: Re: [Interest] Qt5 on mingw fails immediately Hi Jason, qt.pro seems broken. You had better build qtbase first, then build other modules one by one. Regards, Debao On Mon, Mar 19, 2012 at 11:30 AM, Jason H scorp...@yahoo.com wrote: I am trying to build Qt 5 for the first time. I get to the make step ok, then I get: Qt is now configured for building. Just run mingw32-make. To reconfigure, run mingw32-make confclean and configure. + C:/qt5/qtbase/bin/qmake C:/qt5/qt.pro C:\qt5mingw32-make cd qtbase\ mingw32-make -f Makefile mingw32-make[1]: Entering directory `C:/qt5/qtbase' cd src\tools\bootstrap\ mingw32-make -f Makefile mingw32-make[2]: Entering directory `C:/qt5/qtbase/src/tools/bootstrap' mingw32-make -f Makefile.Debug mingw32-make[3]: Entering directory `C:/qt5/qtbase/src/tools/bootstrap' g++ -c -fno-keep-inline-dllexport -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED -DQT_NODLL -I..\..\..\include -I..\..\..\include\QtCore -I..\..\..\include\QtCore\5.0.0 -I..\..\..\include\QtCore\5.0.0\QtCore -I..\..\3rdparty\zlib -I..\..\..\mkspecs\win32-g++ -o tmp\obj\debug_shared\qlatincodec.o ..\..\corelib\codecs\qlatincodec.cpp cc1plus.exe: error: unrecognized command line option -fno-keep-inline-dllexport mingw32-make[3]: *** [tmp/obj/debug_shared/qlatincodec.o] Error 1 mingw32-make[3]: Leaving directory `C:/qt5/qtbase/src/tools/bootstrap' mingw32-make[2]: *** [debug] Error 2 mingw32-make[2]: Leaving directory `C:/qt5/qtbase/src/tools/bootstrap' mingw32-make[1]: *** [sub-tools-bootstrap-make_default-ordered] Error 2 mingw32-make[1]: Leaving directory `C:/qt5/qtbase' mingw32-make: *** [module-qtbase-make_default] Error 2 immediately. Help? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] Qt5 on mingw fails immediately
I am trying to build Qt 5 for the first time. I get to the make step ok, then I get: Qt is now configured for building. Just run mingw32-make. To reconfigure, run mingw32-make confclean and configure. + C:/qt5/qtbase/bin/qmake C:/qt5/qt.pro C:\qt5mingw32-make cd qtbase\ mingw32-make -f Makefile mingw32-make[1]: Entering directory `C:/qt5/qtbase' cd src\tools\bootstrap\ mingw32-make -f Makefile mingw32-make[2]: Entering directory `C:/qt5/qtbase/src/tools/bootstrap' mingw32-make -f Makefile.Debug mingw32-make[3]: Entering directory `C:/qt5/qtbase/src/tools/bootstrap' g++ -c -fno-keep-inline-dllexport -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED -DQT_NODLL -I..\..\..\include -I..\..\..\include\QtCore -I..\..\..\include\QtCore\5.0.0 -I..\..\..\include\QtCore\5.0.0\QtCore -I..\..\3rdparty\zlib -I..\..\..\mkspecs\win32-g++ -o tmp\obj\debug_shared\qlatincodec.o ..\..\corelib\codecs\qlatincodec.cpp cc1plus.exe: error: unrecognized command line option -fno-keep-inline-dllexport mingw32-make[3]: *** [tmp/obj/debug_shared/qlatincodec.o] Error 1 mingw32-make[3]: Leaving directory `C:/qt5/qtbase/src/tools/bootstrap' mingw32-make[2]: *** [debug] Error 2 mingw32-make[2]: Leaving directory `C:/qt5/qtbase/src/tools/bootstrap' mingw32-make[1]: *** [sub-tools-bootstrap-make_default-ordered] Error 2 mingw32-make[1]: Leaving directory `C:/qt5/qtbase' mingw32-make: *** [module-qtbase-make_default] Error 2 immediately. Help? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Qt5 on mingw fails immediately
Hi Jason, qt.pro seems broken. You had better build qtbase first, then build other modules one by one. Regards, Debao On Mon, Mar 19, 2012 at 11:30 AM, Jason H scorp...@yahoo.com wrote: I am trying to build Qt 5 for the first time. I get to the make step ok, then I get: Qt is now configured for building. Just run mingw32-make. To reconfigure, run mingw32-make confclean and configure. + C:/qt5/qtbase/bin/qmake C:/qt5/qt.pro C:\qt5mingw32-make cd qtbase\ mingw32-make -f Makefile mingw32-make[1]: Entering directory `C:/qt5/qtbase' cd src\tools\bootstrap\ mingw32-make -f Makefile mingw32-make[2]: Entering directory `C:/qt5/qtbase/src/tools/bootstrap' mingw32-make -f Makefile.Debug mingw32-make[3]: Entering directory `C:/qt5/qtbase/src/tools/bootstrap' g++ -c -fno-keep-inline-dllexport -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED -DQT_NODLL -I..\..\..\include -I..\..\..\include\QtCore -I..\..\..\include\QtCore\5.0.0 -I..\..\..\include\QtCore\5.0.0\QtCore -I..\..\3rdparty\zlib -I..\..\..\mkspecs\win32-g++ -o tmp\obj\debug_shared\qlatincodec.o ..\..\corelib\codecs\qlatincodec.cpp cc1plus.exe: error: unrecognized command line option -fno-keep-inline-dllexport mingw32-make[3]: *** [tmp/obj/debug_shared/qlatincodec.o] Error 1 mingw32-make[3]: Leaving directory `C:/qt5/qtbase/src/tools/bootstrap' mingw32-make[2]: *** [debug] Error 2 mingw32-make[2]: Leaving directory `C:/qt5/qtbase/src/tools/bootstrap' mingw32-make[1]: *** [sub-tools-bootstrap-make_default-ordered] Error 2 mingw32-make[1]: Leaving directory `C:/qt5/qtbase' mingw32-make: *** [module-qtbase-make_default] Error 2 immediately. Help? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Qt5 on mingw fails immediately
Well since that was the case, and not my fault, I just pulled it from the win32-g++ mkspec It seems to be building. I'll let you know how it goes tomorrow. Man, I wish there was an EC2 instance for building Qt! - Original Message - From: 1+1=2 dbzhang...@gmail.com To: interest@qt-project.org Cc: Sent: Monday, March 19, 2012 3:00 PM Subject: Re: [Interest] Qt5 on mingw fails immediately Hi Jason, qt.pro seems broken. You had better build qtbase first, then build other modules one by one. Regards, Debao On Mon, Mar 19, 2012 at 11:30 AM, Jason H scorp...@yahoo.com wrote: I am trying to build Qt 5 for the first time. I get to the make step ok, then I get: Qt is now configured for building. Just run mingw32-make. To reconfigure, run mingw32-make confclean and configure. + C:/qt5/qtbase/bin/qmake C:/qt5/qt.pro C:\qt5mingw32-make cd qtbase\ mingw32-make -f Makefile mingw32-make[1]: Entering directory `C:/qt5/qtbase' cd src\tools\bootstrap\ mingw32-make -f Makefile mingw32-make[2]: Entering directory `C:/qt5/qtbase/src/tools/bootstrap' mingw32-make -f Makefile.Debug mingw32-make[3]: Entering directory `C:/qt5/qtbase/src/tools/bootstrap' g++ -c -fno-keep-inline-dllexport -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED -DQT_NODLL -I..\..\..\include -I..\..\..\include\QtCore -I..\..\..\include\QtCore\5.0.0 -I..\..\..\include\QtCore\5.0.0\QtCore -I..\..\3rdparty\zlib -I..\..\..\mkspecs\win32-g++ -o tmp\obj\debug_shared\qlatincodec.o ..\..\corelib\codecs\qlatincodec.cpp cc1plus.exe: error: unrecognized command line option -fno-keep-inline-dllexport mingw32-make[3]: *** [tmp/obj/debug_shared/qlatincodec.o] Error 1 mingw32-make[3]: Leaving directory `C:/qt5/qtbase/src/tools/bootstrap' mingw32-make[2]: *** [debug] Error 2 mingw32-make[2]: Leaving directory `C:/qt5/qtbase/src/tools/bootstrap' mingw32-make[1]: *** [sub-tools-bootstrap-make_default-ordered] Error 2 mingw32-make[1]: Leaving directory `C:/qt5/qtbase' mingw32-make: *** [module-qtbase-make_default] Error 2 immediately. Help? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest