[Interest] Qt5 on mingw fails immediately

1+1=2 dbzhang800 at gmail.com
Mon Mar 19 20:00:25 CET 2012


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 <scorp1us at 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 at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list