Building PySide on Windows: Difference between revisions
Jump to navigation
Jump to search
AutoSpider (talk | contribs) (Add "cleanup" tag) |
AutoSpider (talk | contribs) (Convert ExpressionEngine links) |
||
Line 3: | Line 3: | ||
[[Category:LanguageBindings::PySide]] | [[Category:LanguageBindings::PySide]] | ||
'''English''' | '''English''' [http://qt-devnet.developpez.com/tutoriels/python/pyside/installer/?page=windows#IV French] | ||
= Building PySide on Microsoft Windows = | = Building PySide on Microsoft Windows = | ||
Line 9: | Line 9: | ||
== Prerequisites == | == Prerequisites == | ||
* | * [http://download.qt.io/official_releases/qt/4.8/4.8.5/qt-win-opensource-4.8.5-vs2008.exe Qt 4.8 libraries VS 2008 edition] is required when building against Python 2.6, 2.7 or 3.2 | ||
* | * [http://download.qt.io/official_releases/qt/4.8/4.8.5/qt-win-opensource-4.8.5-vs2010.exe Qt 4.8 libraries VS 2010 edition] is required when building against Python 3.3 or 3.4 | ||
* | * [http://www.microsoft.com/en-us/download/details.aspx?id=3138 Windows SDK v7.0] is required when building against Python 2.6, 2.7 or 3.2 | ||
* | * [http://www.microsoft.com/en-us/download/details.aspx?id=8279 Windows SDK v7.1] is required when building against Python 3.3 or 3.4 | ||
* | * [http://www.cmake.org/cmake/resources/software.html CMake] | ||
* | * [http://www.python.org/download/ Python 2.6, 2.7, 3.2, 3.3 or 3.4] | ||
* | * [http://slproweb.com/products/Win32OpenSSL.html OpenSSL (optional)] | ||
'''NOTE''': Be sure that cmake.exe is in your PATH. | '''NOTE''': Be sure that cmake.exe is in your PATH. | ||
Line 21: | Line 21: | ||
== Building PySide installer == | == Building PySide installer == | ||
* Download | * Download [https://pypi.python.org/packages/source/P/PySide/PySide-1.2.2.tar.gz PySide Source Distribution] | ||
* Extract the source distribution and switch to the PySide-1.2.2 directory: | * Extract the source distribution and switch to the PySide-1.2.2 directory: |
Revision as of 08:10, 4 March 2015
This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine. Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean. |
English French
Building PySide on Microsoft Windows
Prerequisites
- Qt 4.8 libraries VS 2008 edition is required when building against Python 2.6, 2.7 or 3.2
- Qt 4.8 libraries VS 2010 edition is required when building against Python 3.3 or 3.4
- Windows SDK v7.0 is required when building against Python 2.6, 2.7 or 3.2
- Windows SDK v7.1 is required when building against Python 3.3 or 3.4
- CMake
- Python 2.6, 2.7, 3.2, 3.3 or 3.4
- OpenSSL (optional)
NOTE: Be sure that cmake.exe is in your PATH.
Building PySide installer
- Download PySide Source Distribution
- Extract the source distribution and switch to the PySide-1.2.2 directory:
c:gt; cd PySide-1.2.2
- Build PySide windows installer:
c:gt; c:27\python setup.py bdist_wininst —qmake=c:.8.5\bin\qmake.exe —openssl=c:32bit\bin
- After the successful build, the binaries can be found in sub-folder "dist":
c:-setup\dist