English French [qt-devnet.developpez.com]
Building PySide on Microsoft Windows
Prerequisites
- Visual Studio Express 2008 [microsoft.com] is required when building against Python 2.7
- NOTE1: To build 64 bit packages with Visual Studio Express 2008 please see http://maliciousattacker.blogspot.com/2008/10/creating-64-bit-applications-with.html
- Visual Studio Express 2010 [microsoft.com] is required when building against Python 3.3
- CMake [cmake.org]
- Git [code.google.com]
- Python 2.6, 2.7, 3.2 or 3.3 [python.org]
- “OpenSSL” (optional):http://slproweb.com/products/Win32OpenSSL.html
NOTE: Be sure that git.exe and cmake.exe are all in your PATH.
Building PySide installer
- Clone ``PySide`` from git repository:
- c:\> git clone https://github.com/PySide/pyside-setup.git pyside-setup
- Switch to the ``pyside-setup`` directory:
- c:\> cd pyside-setup
- Build ``PySide`` windows installer:
- c:\> c:\Python32\python setup.py bdist_wininst --msvc-version=9.0 --qmake=c:\Qt\4.8.2\bin\qmake.exe --openssl=c:\OpenSSL32bit\bin
- After the successful build, the binaries can be found in sub-folder “dist”:
- c:\pyside-setup\dist

