GUIs & Games

PySide6

Qt's own official, no-licensing-headaches way to build slick desktop apps in Python.

Install it: pip install pyside6

What does it do?

PySide6 does essentially the same job as PyQt5, wrapping the powerful Qt toolkit so Python developers can build professional desktop interfaces, but it comes directly from The Qt Company rather than a third party. You get the same buttons, layouts, windows, and polished native look, under a more business-friendly license that doesn’t require paying for commercial use. It’s the manufacturer’s own official adapter versus a well-made third-party one; both plug in and work, but one comes with the original maker’s blessing and long-term support commitment. It’s the version increasingly recommended for new projects specifically because of that official backing.

See it in action

This creates a small desktop app that shows nothing but a single clickable button.

import sys
from PySide6.QtWidgets import QApplication, QPushButton

app = QApplication(sys.argv)
button = QPushButton("Click Me")
button.show()
sys.exit(app.exec())

Why would a non-developer care?

For companies building commercial desktop software, licensing clarity actually matters a great deal, and knowing your interface toolkit comes with straightforward permissive terms removes a real legal headache from development.

Real-world examples

Businesses building internal tools, engineering software, and commercial desktop products increasingly choose PySide6 specifically to sidestep the licensing questions that come with PyQt5. Qt itself, the technology underneath, has been used in car infotainment systems, medical devices, and industrial control panels for years. The Qt Company’s direct backing means PySide6 tends to get new Qt features and long-term support faster.

Who uses it

Companies and developers building commercial desktop applications who want official support and simpler licensing than PyQt5 offers.

How it compares to alternatives

PySide6 is functionally very close to PyQt5 since they wrap the same Qt toolkit, but its more permissive licensing makes it the safer default for commercial products, while PyQt5 still has a longer historical track record and a slightly larger existing codebase out in the wild.

New to Python and want to actually try libraries like this yourself?

Find a beginner-friendly course

Related libraries