Compile scripts for PyQt5 (Qt 5.6.0), Python 2.7.11 and MSVC 2013. To be used by x64dbg. Based on Ida_Pro_Ultimate_Qt_Build_Guide by Storm Shadow.
When it says Extract make sure to completely remove the previous directory if present.
- Install VS2013 so you have
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat
- Install Qt 5.6.0 (x86) so you have
C:\Qt\qt-5.6.0-x86-msvc2013\5.6\msvc2013\bin\qmake.exe
- Install Qt 5.6.0 (x64) so you have
C:\Qt\qt-5.6.0-x64-msvc2013\5.6\msvc2013_64\bin\qmake.exe
- Install Python 2.7.11 (x86) so you have
C:\Python27\python.exe
- Install Python 2.7.11 (x64) so you have
C:\Python27-64\python.exe
- Extract
sip-4.18.zip
so you haveC:\sip-4.18\configure.py
- Copy
sip\python27_32_msvc2013_32_build.bat
toC:\sip-4.18\python27_32_msvc2013_32_build.bat
- Run
C:\sip-4.18\python27_32_msvc2013_32_build.bat
- You should now have
C:\Python27\sip.exe
- Extract
PyQt5_gpl-5.6.zip
so you haveC:\PyQt5_gpl-5.6\configure.py
- Copy
PyQt5\python27_32_msvc2013_32_build.bat
toC:\PyQt5_gpl-5.6\python27_32_msvc2013_32_build.bat
- Run
C:\PyQt5_gpl-5.6\python27_32_msvc2013_32_build.bat
- Copy all DLL files in
C:\Qt\qt-5.6.0-x86-msvc2013\5.6\msvc2013\bin
toC:\Python27\Lib\site-packages\PyQt5
- Copy all DLL files in
C:\Qt\qt-5.6.0-x86-msvc2013\5.6\msvc2013\plugins\platforms
toC:\Python27\Lib\site-packages\PyQt5\platforms
- Verify by opening
C:\Python27\python.exe
and typingimport PyQt5.QtCore
it should not error
- Extract
QScintilla_gpl-2.9.2.zip
so you haveC:\QScintilla_gpl-2.9.2\README
- Copy
QScintilla\python27_32_msvc2013_32_build.bat
toC:\QScintilla_gpl-2.9.2\python27_32_msvc2013_32_build.bat
- Run
C:\QScintilla_gpl-2.9.2\python27_32_msvc2013_32_build.bat
- You should now have
C:\Qt\qt-5.6.0-x86-msvc2013\5.6\msvc2013\lib\qscintilla2.dll
- Copy
C:\QScintilla_gpl-2.9.2\Qt4Qt5\release\qscintilla2.dll
toc:\Python27\Lib\site-packages\PyQt5
- Run
C:\Python27\python.exe test\test.py
- It should say
Everything appears to be working!
- Extract
sip-4.18.zip
so you haveC:\sip-4.18\configure.py
- Copy
sip\python27_64_msvc2013_64_build.bat
toC:\sip-4.18\python27_64_msvc2013_64_build.bat
- Run
C:\sip-4.18\python27_64_msvc2013_64_build.bat
- You should now have
C:\Python27-64\sip.exe
- Extract
PyQt5_gpl-5.6.zip
so you haveC:\PyQt5_gpl-5.6\configure.py
- Copy
PyQt5\python27_64_msvc2013_64_build.bat
toC:\PyQt5_gpl-5.6\python27_64_msvc2013_64_build.bat
- Run
C:\PyQt5_gpl-5.6\python27_64_msvc2013_64_build.bat
- Copy all DLL files in
C:\Qt\qt-5.6.0-x64-msvc2013\5.6\msvc2013_64\bin
toC:\Python27-64\Lib\site-packages\PyQt5
- Copy all DLL files in
C:\Qt\qt-5.6.0-x64-msvc2013\5.6\msvc2013_64\plugins\platforms
toC:\Python27-64\Lib\site-packages\PyQt5\platforms
- Verify by opening
C:\Python27-64\python.exe
and typingimport PyQt5.QtCore
it should not error
- Extract
QScintilla_gpl-2.9.2.zip
so you haveC:\QScintilla_gpl-2.9.2\README
- Copy
QScintilla\python27_64_msvc2013_64_build.bat
toC:\QScintilla_gpl-2.9.2\python27_64_msvc2013_64_build.bat
- Run
C:\QScintilla_gpl-2.9.2\python27_64_msvc2013_64_build.bat
- You should now have
C:\Qt\qt-5.6.0-x64-msvc2013\5.6\msvc2013_64\lib\qscintilla2.dll
- Copy
C:\Qt\qt-5.6.0-x64-msvc2013\5.6\msvc2013_64\lib\qscintilla2.dll
toc:\Python27-64\Lib\site-packages\PyQt5
- Run
C:\Python27-64\python.exe test\test.py
- It should say
Everything appears to be working!