v6.11.0 · Qt 6.11 · Updated 2026

Build Python Desktop Apps with PyQt

PyQt connects the Python you already know to Qt, the trusted C++ toolkit behind thousands of desktop apps. You design your interface once. It then runs natively on Windows, macOS and Linux, with real widgets, a drag-and-drop designer and over a thousand ready-made classes. One pip command opens your first window today.

FreeGPL v3 license
3 OSWin · macOS · Linux
1 linepip install PyQt6
1000+Qt widgets & classes
By Riverbank Computing Open source (GPL v3) Powers Calibre, Anki & more Installs from PyPI
What is PyQt

What Is PyQt?

Think of PyQt as the bridge between the language you genuinely enjoy writing and a graphics toolkit that has quietly powered shipping software for more than two decades.

At its heart, PyQt lets you build full desktop apps in pure Python. It is a well-kept set of Python bindings for Qt — the same C++ framework that drives software across the industry — built and supported by Riverbank Computing. Through PyQt, over a thousand Qt classes become plain Python objects. Windows, buttons, tables, charts and dialogs are only a few lines away, and you never touch C++.

The idea behind it is refreshingly simple. You write plain Python, and Qt draws a clean, native-looking screen for you. There is no web stack to set up, no browser to ship and no new markup to learn. You just create objects, arrange them in a layout, and connect them to your own logic.

That rare mix of power and stability is why PyQt has lasted so long. It stays fast and keeps a steady API. It also tracks every new Qt release, so the skills you build today still pay off tomorrow. Have you outgrown Python's built-in tkinter? PyQt is the natural next step. It scales with you from a tiny one-file utility to a large app with background threads, live charts and a full database.

Cross-platformWidget-based GUIs Qt Designer supportSignals & slots 1000+ classes
what-is-pyqt

PyQt = Python + Qt

Thin bindings that map Qt's C++ API onto clean, Pythonic classes.

Latest is PyQt6

Built on Qt 6.11; PyQt5 remains for Qt 5 and older Python.

Maintained & stable

Regular releases track every new Qt version from Riverbank.

Features

PyQt Features

From a single button to a full data dashboard, PyQt grows with whatever you set out to build.

01 · Widgets

1000+ widgets, ready to drop in

Buttons, tables, trees, tabs, dialogs, sliders, charts — the entire Qt widget set is right here. And you drive every piece of it from clean, readable Python classes.

Tables & treesDialogsCharts
02 · Performance

Native speed under the hood

Qt sits on a fast C++ core, so your PyQt app stays quick and smooth. Even thousands of table rows or live, real-time plots are no problem.

Fast renderingLow overhead
03 · Designer

Design your UI visually

Drag widgets onto a canvas in Qt Designer, save the result as a .ui file, then load it straight into your Python code — no tedious hand-placing required.

Visual layoutpyuic6
04 · Events

Signals & slots that just click

Qt's signals and slots make wiring up actions easy. A click becomes a single line — button.clicked.connect(handler) — and the same pattern scales to an app of any size.

One-line wiringCustom signals
05 · Cross-platform

One codebase, three systems

Write your app once and run it on Windows, macOS and Linux. Qt draws native-looking controls on each platform, so your software feels at home everywhere.

WindowsmacOSLinux
06 · Modules

Powerful add-on modules

Need more than widgets? Reach for optional modules like Charts, 3D, WebEngine, multimedia, SQL and networking. Each one is a small, focused add-on you pull in only when a project needs it.

Charts & 3DWebEngineSQL
How it works

How PyQt Works

Every PyQt program, large or small, follows the same four-beat rhythm. Learn it once and everything else is just detail you fill in.

Create an application object

Every PyQt program starts with one QApplication. It manages the event loop and app-wide settings.

Build your widgets

Add windows and controls — QWidget, QPushButton, QTableWidget. Then arrange them with layouts.

Connect signals to slots

Wire user actions to your functions, e.g. button.clicked.connect(handler). This is how the app reacts.

Show it and run the loop

Call widget.show() and app.exec(). Qt takes over. It draws the UI and handles events.

Installation

How to Install PyQt

pip is the recommended way to install PyQt6 on every platform. Pick your operating system below and copy the commands as they are.

Command Prompt / PowerShell
# 1. check Python 3.10+ is installed
python --version

# 2. install PyQt6 from PyPI
pip install PyQt6

# 3. (optional) the designer & tools
pip install pyqt6-tools

Working in a virtual environment keeps PyQt isolated from other projects. Create one with python -m venv venv, then activate it before running pip.

Verify the install

Run python -c "import PyQt6; print(PyQt6.QtCore.PYQT_VERSION_STR)" to confirm the version.

Write hello world

Save the three-line snippet from the hero into app.py and run python app.py.

Open Qt Designer

After pyqt6-tools, launch it with pyqt6-tools designer to build UIs visually.

Read the full install guide
Use cases

PyQt Use Cases

PyQt is no toy. It quietly powers software used by millions, plus countless in-house tools you will never hear about — these are just a few of the shapes it takes.

PyQt Fusion style widget gallery with radio buttons, tabs, table and progress bar
Form & widget appsSettings panels, data entry, dashboards
Qt Designer interface showing layouts, widget box and property editor
Qt Designer workflowsVisual UI building with .ui files
A PyQt spectrum analyzer plotting live signal data
Data & science toolsLive plots, analyzers, instrument UIs
Modern Fluent-styled PyQt widget gallery window
Modern themed UIsFluent, dark mode and custom styles
A PyQt recipe manager app with search panels and step list
Productivity appsManagers, editors, organizers
A PyQt image uploader utility with preview and settings
Utilities & uploadersFile tools, converters, helpers
Several themed PyQt windows showing color schemes and custom painting
Custom-painted UIsPlayers, visualizers, creative tools
Multiple PyQt windows running worker processes and data views
Multi-window toolsWorkers, monitors, batch runners
A PyQt main window preview with inputs, calendar, slider and dial
Pipeline & VFX toolsStudio tools, forms, calendars
Download

Download PyQt

The fastest way to install PyQt is a single line: pip install PyQt6. Prefer the docs offline? Download the full PyQt6 documentation pack as a ZIP, right here on pyqt.app.

  • Latest version PyQt6 6.11.0
  • Built for Qt 6.11
  • Requires Python 3.10+
  • Platforms Win · macOS · Linux
  • License GPL v3 / commercial
  • Author Riverbank Computing

The ZIP contains the open PyQt6 documentation from GitHub. For the library itself, always use pip or the official Riverbank site.

PyQt6-Docs (main).zipGitHub · ZIP archive
Download ZIP
recommended
pip install PyQt6
Download & install guide
Compatibility & comparison

PyQt Compatibility & Comparison

PyQt and PySide6 both wrap the very same Qt. So the real choice comes down to licensing, versions and support. Here is how PyQt stacks up against PySide6, and across its own releases.

FeaturePyQt6PyQt5PySide6
Qt versionQt 6.xQt 5.xQt 6.x
MaintainerRiverbankRiverbankThe Qt Company
LicenseGPL v3 / commercialGPL v3 / commercialLGPL v3
Min. Python3.10+3.8+3.9+
Ship closed-source freeNoNoYes
API styleNear-identicalNear-identicalNear-identical
Qt DesignerYesYesYes
Best forNew appsLegacy / Qt 5Permissive license

Choose PyQt6

For new projects on current Qt, with the latest widgets and long-term support.

Choose PyQt5

Only if you must stay on Qt 5 or support older Python versions.

Choose PySide6

If you need the LGPL license to ship proprietary software without a commercial fee.

Troubleshooting

PyQt Troubleshooting

Hit an error during install or your first run? Start here.

“No module named PyQt6”

pip installed into the wrong Python. Run python -m pip install PyQt6. Now pip matches the Python you use.

“Could not find Qt platform plugin ‘xcb’”

On Linux, install the system libs: sudo apt install libxcb-cursor0 (and related xcb packages) then rerun your app.

pip can’t build / wheel error

Upgrade pip first: python -m pip install --upgrade pip. PyQt6 ships prebuilt wheels, so an up-to-date pip avoids a from-source build.

Blank or crashing window

Keep a reference to QApplication. Call app.exec() last. If the app object is lost, the window closes at once.

Designer won’t open

Install the tools package: pip install pyqt6-tools, then run pyqt6-tools designer. On some setups Designer ships with the Qt install instead.

Mixing PyQt5 and PyQt6

Never import both in one app. Pick one major version; their modules and enums are not interchangeable.

System requirements

PyQt System Requirements

Requirements are light — if you can run Python, you can almost certainly run PyQt.

Python3.10 or newer

PyQt6 6.11 dropped Python 3.9. Use 3.10+ (64-bit recommended).

Operating systemWin 10+ · macOS 11+ · Linux

64-bit Windows, recent macOS, or a mainstream Linux distro.

Disk space~150–300 MB

The PyQt6 wheel bundles the needed Qt libraries.

RAM2 GB+

Any machine that runs a modern browser is more than enough.

pipLatest version

Upgrade pip to pull prebuilt wheels instead of building from source.

Qt6.11 (bundled)

No separate Qt install needed when using pip wheels.

Safety

Is PyQt Safe to Use?

Yes — when you get it from the right places. Follow these simple rules.

Install from PyPI

Use pip install PyQt6. PyPI packages are published by Riverbank Computing.

Check the package name

It is exactly PyQt6. Watch out for typo-squatted look-alike packages.

Avoid random mirrors

Skip unofficial “free download” sites bundling installers you did not ask for.

Open source & auditable

PyQt is GPL v3. Anyone can read the code and see how it is built.

Pros & cons

PyQt Pros & Cons

Weigh the strengths against the trade-offs before you commit.

Pros

  • Mature, stable toolkit backed by Qt
  • Huge widget set and add-on modules
  • True cross-platform with native look
  • Visual design with Qt Designer
  • Free under GPL v3, installs via pip

Cons

  • GPL means a paid license to ship closed-source
  • Large download compared to lightweight toolkits
  • Steeper learning curve for beginners
  • Packaging to a single EXE needs extra tools
  • Not aimed at mobile or the web
FAQs

PyQt FAQs — Frequently Asked Questions

Quick answers to the things people ask most about PyQt.

General

Download & Installation

Compatibility & Versions

Safety & Learning