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 getting started 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#

img-top

Write your first Qt application.

img-top

Install and build from source.

img-top

PySide API reference.

img-top

Learn with step-by-step guides.

img-top

Check all the available examples.

img-top

Watch webinars, talks, and more.

img-top

Learn to deploy your applications.

img-top

API differences and known issues.

img-top

Generate C++ to Python bindings.

img-top

Notes for Developers.

img-top

Packages, installation, and details.

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