Hi,

My environment is:

win7 64bit sp1
src code: qt-everywhere-opensource-src-5.0.2.zip

Qt Code:
  1. Path = D:\Program Files\python3.3.2\;D:\Perl64\site\bin;D:\Perl64\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\ThinkPad\Bluetooth Software\;C:\Program Files\ThinkPad\Bluetooth Software\syswow64;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;%ANT_HOME%\bin;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;D:\Program Files\MySQL\MySQL Server 5.5\bin;%JBOSS_HOME%\bin;D:\Program Files\TortoiseSVN\bin;%M2_HOME%\bin;D:\Qt\Qt5.0.1\Tools\MinGW\bin;D:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin;D:\Qt\qwt-6.1-rc3\setup\lib;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\
To copy to clipboard, switch view to plain text mode 

I had alreadly installed qt sdk (binary) at D:\Qt\Qt5.0.1\ , therefore, I used the default mingw in Qt5.0.1\mingw47_32 to complie the source code.

Qt Code:
  1. my configure cmd is:
  2.  
  3. configure.bat -confirm-license -opensource -platform win32-g++ -release -static -ltcg -c++11 -fast -prefix "D:\Qt\Qt5.0.2-rel-static" -accessibility -rtti -qt-sql-sqlite -qt-sql-odbc -plugin-sql-sqlite -plugin-sql-odbc -qt-zlib -qt-libpng -qt-libjpeg -audio-backend -nomake docs -opengl desktop -no-qml-debug -no-vcproj -no-dbus -nomake tests -nomake examples -nomake demos -qt-freetype
  4.  
  5. mingw32-make
To copy to clipboard, switch view to plain text mode 


error is:

Qt Code:
  1. F:/qt-everywhere-opensource-src-5.0.2/qtbase/plugins/platforms\libqwindows.a(qwindowswindow.o):qwindowswindow.cpp:(.text+0x1569): undefined reference to `QPlatformWindow::formatWindowTitle(QString const&, QString const&)'collect2.exe: error: ld returned 1 exit status
  2. Makefile.Release:79: recipe for target 'F:\qt-everywhere-opensource-src-5.0.2\qtbase\bin\qmlscene.exe' failed
  3. mingw32-make[4]: *** [F:\qt-everywhere-opensource-src-5.0.2\qtbase\bin\qmlscene.exe] Error 1
  4. mingw32-make[4]: Leaving directory 'f:/qt-everywhere-opensource-src-5.0.2/qtdeclarative/tools/qmlscene'
  5. Makefile:34: recipe for target 'release' failed
  6. mingw32-make[3]: *** [release] Error 2
  7. mingw32-make[3]: Leaving directory 'f:/qt-everywhere-opensource-src-5.0.2/qtdeclarative/tools/qmlscene'
  8. Makefile:44: recipe for target 'sub-qmlscene-make_first' failed
  9. mingw32-make[2]: *** [sub-qmlscene-make_first] Error 2
  10. mingw32-make[2]: Leaving directory 'f:/qt-everywhere-opensource-src-5.0.2/qtdeclarative/tools'
  11. Makefile:66: recipe for target 'sub-tools-make_first' failed
  12. mingw32-make[1]: *** [sub-tools-make_first] Error 2
  13. mingw32-make[1]: Leaving directory 'f:/qt-everywhere-opensource-src-5.0.2/qtdeclarative'
  14. makefile:154: recipe for target 'module-qtdeclarative-make_first' failed
  15. mingw32-make: *** [module-qtdeclarative-make_first] Error 2
To copy to clipboard, switch view to plain text mode 

I had blocked here for whole day, pls help me.

Thank you in advance.

Tang Tao