Python Examples for Qt
Just a repository that contains examples in Python for the Qt framework.
Notice Qt5 and QWidget should be considered deprecated in 2022.
Contents
The directory examples contains examples which are not part of PySide6.
For convenience, this repository contains a copy of the examples of PyQt6 and PySide6.
Look at the file headers for the corresponding license.
- PySide6 examples are installed with the Python package in the examples directory, use
print(PySide6.__file__)
to get the parent path in your installation. - PyQt6 examples are available in the source package.
- Qt examples are installed with the Qt installer.
Contents Map
How to display Standalone QML file
Use the qml or pyside6-qml command to display a standalone QML file:
pyside6-qml vertical-tabbar/main.qml