标签:fast ssi deb lease msvc win32 set src fas
一、下载Qt 4.8.2-opensource.
二、解压到C:\Qt\4.8.2_static
修改C:\Qt\4.8.2_static\projects.pro文件,删除demos,doc,examples
修改C:\Qt\4.8.2_static\tool\tool.pro文件,删除assistant
修改C:\Qt\4.8.2_static\mkspecs\win32-msvc2008\qmake.conf
将QMAKE_CFLAGS=-nologo -Zm200 -Zc:wchar_t- 改为 QMAKE_CFLAGS=-nologo -Zm200 -Zc:wchar_t
将QMAKE_CFLAGS_RELEASE = -O2 -MD 改为 QMAKE_CFLAGS_RELEASE = -O2 -MT
将QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -MD -Zi 改为 QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -MT -Zi
将QMAKE_CFLAGS_DEBUG = -Zi -MDd 改为 QMAKE_CFLAGS_DEBUG = -Zi –MTd
修改C:\Qt\4.8.2_64\src\3rdparty\webkit\Source\WebCore\platform\DefaultLocalizationStrategy.cpp
定位到325行和327行,将
"Look Up “%@”" 修改为
"Look Up ""%@"""
"Look Up “<selection>”" 修改为
"Look Up ""<selection>"""
三、在开始菜单打开Visual Studio 2008 Command Prompt
->c:
cd Qt\4.8.2_static
set QTDIR=C:\Qt\4.8.2_static
configure -debug-and-release -platform win32-msvc2008 -static -fast -opensource -prefix C:\Qt\4.8.2_static
nmake
nmake install
标签:fast ssi deb lease msvc win32 set src fas
原文地址:https://www.cnblogs.com/zhangnianyong/p/9343214.html