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.
Qt for Python: Difference between revisions
No edit summary |
|||
Line 100: | Line 100: | ||
* '''Qt for Python Development Progress Notes''' The most current view of the progress can be found in Jira: [https://bugreports.qt.io/secure/IssueNavigator.jspa?mode=hide&requestId=17825 Unresolved issues] and [https://bugreports.qt.io/secure/IssueNavigator.jspa?mode=hide&requestId=18025 All issues (including resolved)]. The second link is useful to monitor the progress of the backlog. The best way to achieve this is to sort the list by the "Updated" column. Larger backlog/feature items are filed as "User Stories" in Jira. | * '''Qt for Python Development Progress Notes''' The most current view of the progress can be found in Jira: [https://bugreports.qt.io/secure/IssueNavigator.jspa?mode=hide&requestId=17825 Unresolved issues] and [https://bugreports.qt.io/secure/IssueNavigator.jspa?mode=hide&requestId=18025 All issues (including resolved)]. The second link is useful to monitor the progress of the backlog. The best way to achieve this is to sort the list by the "Updated" column. Larger backlog/feature items are filed as "User Stories" in Jira. | ||
* [[Qt_for_Python_Missing_Bindings|Missing PySide2 bindings]]: the list of the current missing bindings. | * [[Qt_for_Python_Missing_Bindings|Missing PySide2 bindings]]: the list of the current missing bindings. | ||
== Contributing to the Qt for Python Wiki == | == Contributing to the Qt for Python Wiki == |
Revision as of 09:11, 16 December 2020
Qt for Python
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:
- It doesn't support Python 2.7,
- Dropped support for Python 3.5, keeping 3.6+ only (up to 3.9)
- Many modules were removed from the Essential list (Check the announcement)
You can find more information on the release blog post.
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 | |||||
---|---|---|---|---|---|---|---|
32bit | 64bit | 32bit | 64bit | Apple M1 | 32bit | 64bit | |
Python 3.6+ | * | * | ** | *** | *** |
* https://wiki.qt.io/Qt_6.0_Tools_and_Versions
** Not supported
***: 5.14 is the first version to support Python 3.8, but Python 3.8.0 will not work on Windows. Please use Python 3.8.1 or greater.
Get PySide6 via pip by running: pip install pyside6
What does it look like?
import sys
from PySide6.QtWidgets import QApplication, QLabel
if __name__ == "__main__":
app = QApplication(sys.argv)
label = QLabel("Hello World")
label.show()
sys.exit(app.exec_())
More examples can be found in the project's repository inside the examples directory.
Getting Started
- Refer to the official documentation over the wiki for guides on getting started, tutorials, and more!.
- Getting started | wiki: download, build and install instructions.
- Porting docs | wiki: Porting an existing Qt/C++ application to Qt/Python the porting process.
- Tutorials | wiki: get started developing PySide applications.
- Shiboken | wiki: general information about the Python binding generator.
- Development: Getting started: guidelines to start contributing to the project.
- Considerations and known issues
- Reporting Bugs: report any issue related PySide6 or Shiboken6.
- Git repository (Code review) (dev branch is the branch currently worked on for PySide6) and PySide6 open patches
Community
- Official IRC channel on Freenode #qt-pyside - You can join via Webchat
- Official Mailing list
- Qt Forum: Qt for Python Subcategory
- Keybase:
- keybase.io/team/pyside
- keybase.io/team/theqtcompany (subteam theqtcompany.pyside)
- Gitter: gitter.im/PySide/pyside2 (including bot that bridges IRC)
- Matrix/Riot: #qt-pyside:matrix.org (Qt for Python)
- Telegram Group: Qt for Python
- Have an idea? share it with us!
Development Status
- Development Notes by date: the summary of the development progress.
- Qt for Python Development Progress Notes The most current view of the progress can be found in Jira: Unresolved issues and All issues (including resolved). The second link is useful to monitor the progress of the backlog. The best way to achieve this is to sort the list by the "Updated" column. Larger backlog/feature items are filed as "User Stories" in Jira.
- Missing PySide2 bindings: the list of the current missing bindings.
Contributing to the Qt for Python Wiki
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.