Qt PySide6 getting started with simple examples.
MIT License
This repository contains simple getting started examples to develop Qt applications in Python using PySide6. It is intended for educational purposes and self study:
PySide6 is the official Qt for Python
module, which provides access to the
complete Qt 6.0+ framework. It is available under both Open Source
(LGPLv3/GPLv2) and commercial license. Using PyPi (PIP) is the recommended
installation source.
A separate PySide6 deployment project for Windows / Linux using Nuitka on Github Actions is available here.
Examples are tested with PySide 6.7.2 on Ubuntu 22.10 Wayland and Windows 10/11. As Qt is platform independent, it may work on other systems like Raspberry Pi. See section Known issues for platform specific issues.
The following Qt
/ PySide6
/ Qt Creator
bugs are reported and affects
examples in this repository:
move()
andsetGeometry()
are not supported by Qt / PySide6.showNormal()
not working when window is minimized on Ubuntu X11 and Wayland.13_qt_creator\01_qt_creator_qwidget.py
generates a warning:Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.