qt 4.8.5 vs 2012编译
2013-12-20 04:37
453 查看
Download Qt 4.8.3 source code from http://qt-project.org/downloads
Go to
to:
Replace
Start "VS2012 x64 or X86 Native Tools Command Prompt"
Switch to Qt 4.8.3 source directory (the directory that contains
nmake
platform\DefaultLocalizationStrategy.cpp(327) : error C2001: newline in constant
platform\DefaultLocalizationStrategy.cpp(327) : fatal error C1057: unexpected end of file in macro expansion
go to line 327 change "return WEB_UI_STRING("Look Up “<ion>”", "Look Up context menu item with ed word").replace("<ion>", dStringForLookupMenuItem(edString));" to "return WEB_UI_STRING("Look Up \"<selection>\"", "Look Up context menu item with selected word").replace("<selection>", truncatedStringForLookupMenuItem(selectedString));"
nmake
Go to
mkspecs\win32-msvc2010. Open
qmake.confand change:
QMAKE_COMPILER_DEFINES += _MSC_VER=1600 WIN32
to:
QMAKE_COMPILER_DEFINES += _MSC_VER=1700 WIN32
Replace
qt-everywhere-opensource-src-4.8.3-x64\src\3rdparty\webkit\Source\JavaScriptCore\wtf\HashSet.hby this
HashSet.h.
Start "VS2012 x64 or X86 Native Tools Command Prompt"
Switch to Qt 4.8.3 source directory (the directory that contains
configure.exe) C
onfigure -mp -opensource -nomake demos -nomake examples -platform win32-msvc2012
nmake
platform\DefaultLocalizationStrategy.cpp(327) : error C2001: newline in constant
platform\DefaultLocalizationStrategy.cpp(327) : fatal error C1057: unexpected end of file in macro expansion
go to line 327 change "return WEB_UI_STRING("Look Up “<ion>”", "Look Up context menu item with ed word").replace("<ion>", dStringForLookupMenuItem(edString));" to "return WEB_UI_STRING("Look Up \"<selection>\"", "Look Up context menu item with selected word").replace("<selection>", truncatedStringForLookupMenuItem(selectedString));"
nmake
相关文章推荐
- VS2012 编译 Qt5.0.0 正式版
- vs2012+qt4.8.3 编译过程
- vs2012 手动编译Qt5开发环境
- vs2012 编译 Qt 4.8.4
- VS2012 编译Qt 4.8完整过程
- vs2012 手动编译Qt5开发环境
- VS2012(update3)编译Qt5.1.1 32位静态库debug-and-release版及结果分享
- VS2012(update3)编译Qt5.1.1 32位静态库debug-and-release版及结果分享
- VS2012 RC 编译Qt 4.8.2完整过程
- VS2012 编译Qt 4.8.4完整过程
- VS2012+Qt5.2交叉编译环境搭建
- VS2012 RC 编译Qt 4.8.2完整过程
- VS 2010配置Qt 4.8.5
- VS2010纯静态编译QT4.8.0,实现VS2010编译调试Qt程序,QtCreator静态发布程序
- VS2015 + QT 编译出现public: virtual struct QMetaObject const * __thiscall 错误
- Qt5-msvc2012编译安装
- VS2012 + WDK8 编译WDM驱动
- 运行命令行带 PowerShell & VS & QT 环境(windows下加载QT命令行编译环境-VS版)
- Qt 5.2.0 和 VS 2012集成
- VS2013编译Qt5.4静态库