g-var.com | G-VAR's Blog

Recent Posts

Full Tag Index

Posts in “Qt”

VS2013编译Qt 4.8.6 x64

Thu, Apr 13, 2017
转载请注明出处! 原文链接:VS2013编译Qt 4.8.6 x64 下载Qt 4.8.6源码 下载地址 源码配置 将下载的qt-everywhere-opensource-src-4.8.6.zip解压,如:E:/qt-everywhere-opensource-src-4.8.6 对源文件进行修改,修改内容如下: 找到./mkspecs/win32-msvc2013/qmake.conf文件,将 QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO = /DEBUG /OPT:REF QMAKE_LFLAGS_DEBUG = /DEBUG 修改为 QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO = /DEBUG /OPT:REF /INCREMENTAL:NO QMAKE_LFLAGS_DEBUG = /DEBUG /INCREMENTAL:NO 找到./src/3rdparty/webkit/Source/JavaScriptCore/wtf/HashSet.h文件,将 return m_impl.add(value); 修改为 typedef typename HashSet<T, U, V>::iterator iter_type; auto& p = m_impl.add(value); return make_pair((iter_type)p.first, p.second); 再将 return m_impl.template addPassingHashCode<T, T, Adapter>(value, value); 修改为: typedef typename HashSet<Value, HashFunctions, Traits>::iterator iter_type; auto& p = m_impl.