PySide6 has two APIs for building GUIs. We've already introduced the Qt Widgets API which is well-suited for building desktop applications. Qt also provides a declarative API in the form of Qt Quick/QML. Qt Quick is well suited for building modern touchscreen interfaces for microcontrollers or device interfaces.

If you're unsure whether to use Qt Widgets or QML for your project, take a look at our guide on which Python GUI library to choose.

Explore QML/QtQuick applications with PySide6

QML/QtQuick applications with PySide6

Animations and Transformations With QtQuick in PySide6

Build an animated analog clock widget using QML image transformations and spring animations

Create Applications with QtQuick in PySide6

Build modern applications with declarative QML

Matplotlib with QtQuick (QML)

How to display Matplotlib plots inside a QML application using PySide6