Registry / pyqt6-qt

pyqt6-qt

JSON →
library6.0.1pypypiunverified

The `pyqt6-qt` package is a crucial runtime dependency for `PyQt6`, providing the necessary compiled Qt binaries and libraries. It is not intended for direct import or use by application developers but is automatically installed and utilized by the `PyQt6` package to enable GUI functionality. The current version is 6.0.1, reflecting its close tie to the PyQt6 release cycle.

pip install pyqt6-qt
INSTALL
IMPORT
SIG · PYQT6-QT
P
pyqt6-qt
pythonv6.0.1
Install
4.0s avg
Import
—
Disk
492MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v6.0.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.920 runs
build_error
glibc
py 3.10–3.920 runs
installs and imports cleanly · install 4.0s · import 0.000s · 487MB
492MB installed
● package 492MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

QApplication
✓ from PyQt6.QtWidgets import QApplication
✗ from PyQt6.QtWidgets import QApplication

This quickstart demonstrates a basic PyQt6 application. While `pyqt6-qt` is not directly imported, it is a mandatory runtime dependency that provides the underlying Qt shared libraries, making the `PyQt6` imports and functionality possible. You typically install `PyQt6` which then pulls in `pyqt6-qt`.

import sys from PyQt6.QtWidgets import QApplication, QLabel, QWidget # Note: pyqt6-qt provides the underlying Qt libraries, # enabling the functionality imported from PyQt6. def main(): app = QApplication(sys.argv) window = QWidget() window.setWindowTitle('PyQt6-Qt Enabled App') window.setGeometry(100, 100, 280, 80) hello_label = QLabel('Hello, PyQt6!', parent=window) hello_label.move(60, 15) window.show() sys.exit(app.exec()) if __name__ == '__main__': main()
Debug
Known issues
gotchaConfusion between 'pyqt6-qt' and 'PyQt6'. Users often mistake `pyqt6-qt` for the main Python-facing library and attempt to import directly from it.
fix
Always import from `PyQt6` (e.g., `PyQt6.QtWidgets`, `PyQt6.QtCore`) in your application code. `pyqt6-qt` is a backend dependency, not an API layer.
affects: All versions
gotchaDeployment challenges with bundled applications. When creating standalone executables (e.g., with PyInstaller), the Qt shared libraries provided by `pyqt6-qt` must be correctly bundled for the application to run on other machines.
fix
Refer to the documentation of your chosen bundling tool (e.g., PyInstaller's `datas` option, or specific PySide/PyQt hooks). Ensure all necessary Qt plugins (platform, image formats, etc.) are included. This often requires running the bundling tool on the target OS or ensuring cross-platform compatibility.
affects: All versions
gotchaEnvironment variable QT_QPA_PLATFORM_PLUGIN_PATH not set or pointing to incorrect location, leading to 'Could not find the Qt platform plugin' errors.
fix
Ensure the `platforms` directory containing the `qwindows.dll` (or `libqxcb.so` on Linux) is discoverable. For standard installations, this is handled, but in custom environments or deployments, you might need to manually set `QT_QPA_PLATFORM_PLUGIN_PATH` to the correct directory (e.g., `path/to/venv/Lib/site-packages/PyQt6/Qt6/plugins`).
affects: All versions
Upgrade
Version history
6.0.1latest on PyPI · released Feb 6, 2021
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
pyqt6-qt — pip install pyqt6-qt · libregistry