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

Image

Write your first Qt application.

Image

Building from Source.

Image

Packages, installation, and details.

Image

PySide API reference.

Image

Learn with step-by-step guides.

Image

Check all the available examples.

Image

Watch webinars, talks, and more.

Image

Discover the tools included.

Image

Learn to deploy your applications.

Image

Generate C++ to Python bindings.

Image

API differences and known issues.

Image

Notes for Developers.

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