在windows 7和msvc下编译QT 5.3.2

我使用msvc 2013(最终-64位),Windows 7 64位。 我通过msvc 2013(64位)编译icu4c 54.1。

现在我尝试编译qt 5.3.2-everywhere-opensource-src (我添加了补丁(我replace了QWebFrame.cpp ))

我使用Visual Studio的CMD开发工具。

—我执行这些命令:

  1. cd D:\qt
  2. d:
  3. configure -prefix D:\Qt\Qt_making -platform win32-msvc2013 -opensource -c++11 -make tools -make libs -qt-sql-sqlite -no-openssl -icu -IC:\icu-53.1-vs2013\include -LC:\icu-53.1-vs2013\lib64 //一切正常 – 毕竟,包括加载/新的icu库加载
  4. nmake

4命令后,过程中断。 并显示错误:

与: 36 unresolved externals这些“悬而未决的外部”是可疑的libs。

我使这些错误的屏幕(下):

错误

那么最新错误?

我必须编译QT(特别是QWebKit – 因为所有64位的补丁)。

上次我为Windows编译Qt(为了获得桌面版本的OpenGL),这是我需要做的。 请注意,这是VS2010和Qt 5.0.0(在Windows 7上)。

 set CL=/MP if not compiling qtwebkit: Need to rename/delete the qtwebkit* directories (there's a -no-webkit option but it doesn't work in 5.0.0) else: Need ICU, GNU bison, and GNU gperf (either install the prebuilt binaries or build yourself) if using ICU (required for qtwebkit): set LIB=%LIB%;C:\icu\lib set INCLUDE=%INCLUDE%;C:\icu\include set PATH=C:\icu\bin;%PATH% set PATH=%PATH%;C:\Program Files (x86)\gperf\bin;C:\bison\bin cd <path>\qt-everywhere-opensource-src-<version> configure -prefix C:\Qt\Qt5.0.0-opengl-desktop -opensource -debug-and-release -platform win32-msvc2010 -opengl desktop -no-cetest -nomake tests -nomake examples -confirm-license -ltcg -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -mp nmake nmake install if used ICU: copy all the DLLs from C:\icu\bin to C:\Qt\Qt5.0.0-opengl-desktop\bin