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.
PySide2
Pyside for Qt 5.x
The Pyside 2 project aims to provide a complete port of PySide to Qt 5.x. 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 ).
This wiki page tracks the progress of PySide for Qt 5.x development and provides further information concerning the effort.
Tools
The following tools are used to develop PySide:
- Bug tracker: https://bugreports.qt.io/browse/PYSIDE
- CodeReview: https://codereview.qt-project.org
- Git repo: ssh://codereview.qt-project.org/pyside/pyside-setup (dev branch is Pyside2)
Getting started
<TODO>
Backlog
The list below represents some short term targets and long term ideas for Pyside2 development. There is no guarantee that this will happen as written done. It is meant as a short reminder and idea collection for future development. In the long term this list is likely to move to https://bugreports.qt.io/browse/PYSIDE.
- Setup Bugreports & intropage for Pyside on wikis.qt.io (Alex)
- First time with Pyside (Document how to get started on this wiki)
- Code CLA (author agreements required)
- Testing Infrastructure
- What has been done so far?
- Qt CI
- make test
- cmake based build system (all repos)
- pip installable Pyside
- CI has to setup virtual Python environment
- Use pip to install/build Pyside
- Future changes to PySide
- Gaps (modules & API)
- Identify the extend of the gaps by proting existing examples from Qt 4 to Qt5 (ongoing)
- No OpenGL support
- Plugin system (in what form or shape do we need it is uncertain - some failing tests exist already)
- Prepare a summary of gaps for other modules
- Fundamental Architecture changes
- Shiboken
- Clang support
- John Ehresmann wrote a python parser as Shiboken replacement
- QtQML?
- Shiboken
- MyPy (type annotation - fully typed Python API)
- General Python features and their adoption in PySide (e.g. Async I/O)
- Creator and tooling
- Gaps (modules & API)