Qt for Python

Qt for Python offers the official Python bindings for Qt, which enables you to use Python to write your Qt applications. The project has two main components:

  • PySide6, so that you can use Qt6 APIs in your Python applications, and

  • Shiboken6, a binding generator tool, which can be used to expose C++ projects to Python, and a Python module with some utility functions.

Porting from PySide2 to PySide6 provides information on porting existing PySide2 applications.

This project is available under the LGPLv3/GPLv3 and the Qt commercial license.

Quick Start

You can obtain the latest stable version by running pip install pyside6. If you want to build it yourself, check the Building from Source guide.

To learn how to use it, check out write your first application, and to learn what is installed with the pyside6, check the package content, structure, and tools page.

Documentation

Write your first Qt application.

Building from Source.

Packages, installation, and details.

PySide API reference.

Learn with step-by-step guides.

Check all the available examples.

Watch webinars, talks, and more.

Discover the tools included.

Learn to deploy your applications.

Generate C++ to Python bindings.

API differences and known issues.

Notes for Developers.

We have also a wiki page where you can find how to report bugs, contribute or contact the community.