vs2013 编译 x64 qt4.8.6

vs2013 直接qt4.8.6 x6位平台 的话 ,会有问题,需要一个patch文件


patch 链接: http://download.csdn.net/detail/zhuyingqingfen/9048057


如下图:



可以手动把首行前面有减号的地方换成对应前面有加号的即可(或者patch -p0 < thispatch)

另外还有一个错误需要修改:

打开<QtDir>\src\3rdparty\webkit\Source\WebCore\platform\DefaultLocalizationStrategy.cpp文件,定位到327行,改之前是:


return WEB_UI_STRING("LookUp “<selection>”","Look Up context menu item with selectedword").replace("<selection>",truncatedStringForLookupMenuItem(selectedString));


然后将它改成:


return WEB_UI_STRING("LookUp \"<selection>\"", "Look Up context menu item withselected word").replace("<selection>",truncatedStringForLookupMenuItem(selectedString));



下载Qt 4.8.6 版本 

http://download.qt.io/archive/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.zip


打开vs2013的命令行工具 ,中文名称是: VS2013 x64 本机工具命令提示,对应的英文名称是:"VS2013 x64 Native Tools Command Prompt"


编译命令:configure -opensource -nomake demos -nomake examples -platform win32-msvc2013

如果需要编译webkit则 configure -opensource -nomake demos -nomake examples -platform win32-msvc2013 -webkit

然后nmake 就ok了。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值