En Ar Bg De El Es Fa Fi Fr Hi Hu It Ja Kn Ko Ms Nl Pl Pt Ru Sq Th Tr Uk Zh
Qt for PythonQt for Python official logo.
The Qt for Python project aims to provide a complete port of the PySide module to Qt. The development started on GitHub in May 2015. The project managed to port PySide to Qt 5.3, 5.4 & 5.5. During April 2016 The Qt Company decided to properly support the port (see details ).
The module was released mid June 2018 as a Technical Preview (supporting Qt 5.11), and it was officially released without the Technical Preview tag, in December 2018 for Qt 5.12. In December 2020, the module was released for Qt6, which is the latest available version, which has the following differences:
This wiki page tracks the progress of the Qt for Python project development and provides further information concerning the effort.
Qt for Python is available under LGPLv3/GPLv2 and commercial license for the following platforms:
Linux macOS Windows i386 amd64 arm64 32bit 64bit Apple Silicon 32bit 64bit Python 3.7+ ✸ ⁜ ✸ ⦿ ✸ ✦
Get PySide6 via pip by running: pip install pyside6
import sys from PySide6.QtCore import Qt from PySide6.QtWidgets import QApplication, QLabel if __name__ == "__main__": app = QApplication(sys.argv) label = QLabel("Hello World", alignment=Qt.Alignment.AlignCenter) label.show() sys.exit(app.exec())
More examples can be found in the project's repository inside the examples directory.
Python compatibility matrix 2.7 3.5 3.6 3.7 3.8 3.9 3.10 3.11 3.12 3.13 3.14 5.15.0 o o o o o x x x x x x 5.15.1-7 o o o o o o x x x x x 5.15.8 o o o o o o o x x x x 5.15.9-10 x o o o o o o x x x x 5.15.11-15 x x o o o o o o x x x 6.0.x x x o o o o x x x x x 6.1.x x x o o o o x x x x x 6.2.x x x o o o o o x x x x 6.3.x x x o o o o o x x x x 6.4.x x x x o o o o o x x x 6.5.x x x x o o o o o x x x 6.6.x x x x x o o o o o x x 6.7.x x x x x x o o o o x x 6.8.x x x x x x o o o o o x 6.9.x x x x x x x o o o o xo Free Threaded Python is not fully supported.
Getting StartedThe following chat platforms are connected via a bridge, so independent of the one you join, you will get the messages from the other ones.
This Wiki is a community area where you can easily contribute, and which may contain rapidly changing information. Please put any wiki pages related to Qt for Python into the "QtForPython" category by adding the following text to the top of the page: [[Category:Qt for Python]]
When creating a new wiki page, please start the name with the prefix "Qt_for_Python/", so all the wiki page names will have the same structure and breadcrumbs are generated for easier navigation.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4