PyQt5
PyQt5 copied to clipboard
Compile scripts for PyQt5 (Qt 5.6.0), Python 2.7.11 and MSVC 2013.
PyQt5
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.
Prerequisites
- 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
x86
Building sip (x86)
- 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
Building PyQt5 (x86)
- 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
Copying Qt DLLs (x86)
- 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
Building QScintilla (x86)
- 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
Verifying your installation (x86)
- Run
C:\Python27\python.exe test\test.py
- It should say
Everything appears to be working!
x64
Building sip (x64)
- 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
Building PyQt5 (x64)
- 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
Copying Qt DLLs (x64)
- 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
Building QScintilla (x64)
- 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
Verifying your installation (x64)
- Run
C:\Python27-64\python.exe test\test.py
- It should say
Everything appears to be working!