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:\qt5>mingw32-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