Based on the output below, I think there might be a path invariance between prefix and QTDIR, if you have that set.
So, make sure that $$QTDIR is the same as $$[QT_HOST_PREFIX]. If you have QTDIR set, then qmake will pass '-qtdir <path>' to syncqt on invocation. Check that against what 'qmake –query | grep HOST_PREFIX' reports. They have to match for -developer–build, where installation path == build path, if they don't that's likely your problem. (yes, this is all fixed in Ossi's build system branch) -- .marius On 5/15/12 10:21 AM, "ext Loaden" <[email protected]<mailto:[email protected]>> wrote: Full configure/build log, please see attachments. 2012/5/15 Loaden <[email protected]<mailto:[email protected]>> Hi, All! I am just try to build Qt5 under Windows, use MinGW-TDM or MinGW-w64 (32bit), but both failed with the same log. I don't know how to fix the problem. Any comments? cd svg\ && mingw32-make -f Makefile mingw32-make[3]: Entering directory `D:/qpSOFT/Projects/BuildQt5-TDM/qtsvg/src/svg' mingw32-make -f Makefile.Debug all mingw32-make[4]: Entering directory `D:/qpSOFT/Projects/BuildQt5-TDM/qtsvg/src/svg' g++ -c -fno-keep-inline-dllexport -g -Wall -frtti -fexceptions -mthreads -DQT_SHARED -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_BUILD_SVG_LIB -DQT_NO_USING_NAMESPACE -DQT_MAKEDLL -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -D_USE_MATH_DEFINES -DQT_DLL -DQT_HAVE_SSE2 -I"d:\qpSOFT\Projects\BuildQt5-TDM\qtbase\include" -I"..\..\include\QtSvg\5.0.0" -I"..\..\include\QtSvg\5.0.0\QtSvg" -I"..\..\include" -I"..\..\include\QtSvg" -I"..\..\include" -I"tmp" -I"d:\qpSOFT\Projects\Qt5\qtbase\src\3rdparty\harfbuzz\src" -I"d:\qpSOFT\Projects\Qt5\qtsvg\src\3rdparty\zlib" -I"d:\qpSOFT\Projects\Qt5\qtbase\mkspecs\win32-g++" -I"debug" -I"d:\qpSOFT\Projects\Qt5\qtsvg\src\svg" -I"." -I"d:\qpSOFT\Projects\BuildQt5-TDM\qtbase\mkspecs\default" -o debug\qsvggraphics.o d:\qpSOFT\Projects\Qt5\qtsvg\src\svg\qsvggraphics.cpp In file included from d:\qpSOFT\Projects\Qt5\qtsvg\src\svg\qsvgnode_p.h:56:0, from d:\qpSOFT\Projects\Qt5\qtsvg\src\svg\qsvggraphics_p.h:56, from d:\qpSOFT\Projects\Qt5\qtsvg\src\svg\qsvggraphics.cpp:42: d:\qpSOFT\Projects\Qt5\qtsvg\src\svg\qsvgstyle_p.h:65:20: fatal error: qdebug.h: No such file or directory compilation terminated. mingw32-make[4]: *** [debug/qsvggraphics.o] Error 1 mingw32-make[4]: Leaving directory `D:/qpSOFT/Projects/BuildQt5-TDM/qtsvg/src/svg' mingw32-make[3]: *** [debug-all] Error 2 mingw32-make[3]: Leaving directory `D:/qpSOFT/Projects/BuildQt5-TDM/qtsvg/src/svg' mingw32-make[2]: *** [sub-svg-make_default-ordered] Error 2 mingw32-make[2]: Leaving directory `D:/qpSOFT/Projects/BuildQt5-TDM/qtsvg/src' mingw32-make[1]: *** [module-qtsvg-src-make_default] Error 2 mingw32-make[1]: Leaving directory `D:/qpSOFT/Projects/BuildQt5-TDM/qtsvg' mingw32-make: *** [module-qtsvg-make_default] Error 2 mingw32-make: *** Waiting for unfinished jobs.... Project MESSAGE: Warning: unknown QT module: network Project MESSAGE: Warning: unknown QT module: core Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version. Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point. Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned! Project MESSAGE: Warning: unknown QT module: network Project MESSAGE: Warning: unknown QT module: core Project MESSAGE: Warning: unknown QT module: network Project MESSAGE: Warning: unknown QT module: core cd xmlpatterns\ && mingw32-make -f Makefile mingw32-make[3]: Entering directory `D:/qpSOFT/Projects/BuildQt5-TDM/qtxmlpatterns/src/xmlpatterns' mingw32-make -f Makefile.Debug all mingw32-make[4]: Entering directory `D:/qpSOFT/Projects/BuildQt5-TDM/qtxmlpatterns/src/xmlpatterns' g++ -c -fno-keep-inline-dllexport -g -Wall -fexceptions -mthreads -frtti -DQT_SHARED -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_BUILD_XMLPATTERNS_LIB -DQT_NO_USING_NAMESPACE -DQT_MAKEDLL -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -D_USE_MATH_DEFINES -DQT_DLL -DQT_HAVE_SSE2 -I"d:\qpSOFT\Projects\BuildQt5-TDM\qtbase\include" -I"..\..\include\QtXmlPatterns\5.0.0" -I"..\..\include\QtXmlPatterns\5.0.0\QtXmlPatterns" -I"..\..\include" -I"..\..\include\QtXmlPatterns" -I"..\..\include" -I"tmp" -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\acceltree" -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\data" -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\api" -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\environment" -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\expr" -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\functions" -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\iterators" -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\janitors" -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\parser" -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\schema" -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\type" -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\utils" -I"d:\qpSOFT\Projects\Qt5\qtbase\mkspecs\win32-g++" -I"debug" -I"d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns" -I"." -I"d:\qpSOFT\Projects\BuildQt5-TDM\qtbase\mkspecs\default" -o debug\qacceltree.o d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\acceltree\qacceltree.cpp d:\qpSOFT\Projects\Qt5\qtxmlpatterns\src\xmlpatterns\acceltree\qacceltree.cpp:42:18: fatal error: QStack: No such file or directory compilation terminated. mingw32-make[4]: *** [debug/qacceltree.o] Error 1 mingw32-make[4]: Leaving directory `D:/qpSOFT/Projects/BuildQt5-TDM/qtxmlpatterns/src/xmlpatterns' mingw32-make[3]: *** [debug-all] Error 2 mingw32-make[3]: Leaving directory `D:/qpSOFT/Projects/BuildQt5-TDM/qtxmlpatterns/src/xmlpatterns' mingw32-make[2]: *** [sub-xmlpatterns-make_default] Error 2 mingw32-make[2]: Leaving directory `D:/qpSOFT/Projects/BuildQt5-TDM/qtxmlpatterns/src' mingw32-make[1]: *** [module-qtxmlpatterns-src-make_default] Error 2 mingw32-make[1]: Leaving directory `D:/qpSOFT/Projects/BuildQt5-TDM/qtxmlpatterns' mingw32-make: *** [module-qtxmlpatterns-make_default] Error 2 -- Please don't ask where I come from, It's a shame! Best Regards Yuchen -- Please don't ask where I come from, It's a shame! Best Regards Yuchen _______________________________________________ Development mailing list [email protected]<mailto:[email protected]> http://lists.qt-project.org/mailman/listinfo/development
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
