qt 4.8.5 vs 2012编译
2024-10-21 14:27:44
Download Qt 4.8.3 source code from http://qt-project.org/downloads
Go to
mkspecs\win32-msvc2010
. Openqmake.conf
and 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.h
by thisHashSet.h
.Start "VS2012 x64 or X86 Native Tools Command Prompt"
Switch to Qt 4.8.3 source directory (the directory that contains
configure.exe
) Configure -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
最新文章
- python 模块包裹
- C#枚举类型
- iOS Bundle display name国际化
- 【转】File类应用 - FilenameFilter 和 FileFilter
- HDU 4465 数值计算,避免溢出
- Java笔记2 : 泛型的体现,及其上限、下限、通配符
- pyqt5按钮计数
- python none,null,,,,,类型
- 2014 I/O归来:Google连接一切
- Advanced Data Structures
- ABP入门系列(11)——编写单元测试
- linux管道(|)与重定向(<;>;)的异同
- 【转】WEB网站常见受攻击方式及解决办法
- 关于java&#39; web杂谈(其实是课后作业1)1 网站系统开发需要掌握的技术
- [转]CAS原理
- 快速导入导出Oracle数据demo(sqlldr、UTL_FILE)
- js中去除字符串中所有的html标签
- 大疆无人机M100相关问题解决过程
- spring配置log4j
- ArcMap导入图层出现General function failure问题 [转]
热门文章
- 64位下安装Scrapy 报错 ";could not find openssl.exe"; 的解决方法。
- 使用apt-mirror建立局域网内的Debian/Ubuntu源镜像
- java工具类获取properties文件的配置
- ThreadPoolExecutor 的三种提交任务方式
- Bitcoin 比特币, LTC(litecoin)莱特币,
- Install FileZilla in Ubuntu16.04
- coffeescript 1.6.3使用帮助
- 【Android 工具类】经常使用工具类(方法)大全
- import * as obj from &#39;xx&#39;
- 重新 java 对象的 equals 和 hashCode 方法的建议和示例代码