-
Download Qt 4.8.3 source code from http://qt-project.org/downloads
-
Go to
mkspecswin32-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-x64src3rdpartywebkitSourceJavaScriptCorewtfHashSet.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
- platformDefaultLocalizationStrategy.cpp(327) : error C2001: newline in constant
platformDefaultLocalizationStrategy.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