Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

Building PySide on Windows: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Convert ExpressionEngine links)
No edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Cleanup | reason=Auto-imported from ExpressionEngine.}}
{| class="wikitable"
|-
| style="background: #ff6961;text-align: center;"| Attention
|-
| This is a page dedicated to PySide (Qt4). For recent development on PySide2 (Qt5) and PySide6 (Qt6) refer to [[Qt for Python]]
|}


[[Category:LanguageBindings::PySide]]
[[Category:PySide]]


'''English''' [http://qt-devnet.developpez.com/tutoriels/python/pyside/installer/?page=windows#IV French]
'''English''' [http://qt-devnet.developpez.com/tutoriels/python/pyside/installer/?page=windows#IV French]
Line 9: Line 14:
== 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-project.org/official_releases/qt/4.8/4.8.7/qt-opensource-windows-x86-vs2008-4.8.7.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://download.qt-project.org/official_releases/qt/4.8/4.8.7/qt-opensource-windows-x86-vs2010-4.8.7.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=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.microsoft.com/en-us/download/details.aspx?id=8279 Windows SDK v7.1] is required when building against Python 3.3 or 3.4
Line 21: Line 26:
== Building PySide installer ==
== Building PySide installer ==


* Download [https://pypi.python.org/packages/source/P/PySide/PySide-1.2.2.tar.gz PySide Source Distribution]
* Download [https://pypi.python.org/packages/source/P/PySide/PySide-1.2.4.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.4 directory:
  <code>
  <code>
  c:gt; cd PySide-1.2.2
  c:gt; cd PySide-1.2.4
  </code>
  </code>



Latest revision as of 10:32, 24 February 2022

Attention
This is a page dedicated to PySide (Qt4). For recent development on PySide2 (Qt5) and PySide6 (Qt6) refer to Qt for Python

English French

Building PySide on Microsoft Windows

Prerequisites

NOTE: Be sure that cmake.exe is in your PATH.

Building PySide installer

  • Extract the source distribution and switch to the PySide-1.2.4 directory:
 c:gt; cd PySide-1.2.4
  • 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