Registry / web-framework / pyqt6-qt6

pyqt6-qt6

JSON →
library6.11.0pypypiunverified

This package provides the core Qt6 shared libraries (DLLs/SOs) compiled for Python, which are a fundamental dependency for the PyQt6 bindings. It does not contain any Python API for direct use, but rather the underlying C++ runtime components. It is typically installed automatically as a dependency of the `PyQt6` package. The current version is 6.11.0, and it generally follows the release schedule of the main PyQt6 library and the underlying Qt framework.

pip install pyqt6-qt6
INSTALL
IMPORT
SIG · PYQT6-QT6
P
pyqt6-qt6
web-frameworkpythonv6.11.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

This quickstart demonstrates a basic PyQt6 application. The `pyqt6-qt6` package provides the necessary underlying Qt6 C++ runtime libraries that `PyQt6` (which handles the Python bindings) uses to function. You do not directly import or interact with `pyqt6-qt6` from your Python code; its presence as a dependency is sufficient for PyQt6 applications to run.

import sys from PyQt6.QtWidgets import QApplication, QLabel, QWidget, QVBoxLayout # Note: pyqt6-qt6 provides the underlying Qt6 C++ libraries for PyQt6 to use. # You do not import directly from pyqt6-qt6 in your Python code. if __name__ == '__main__': app = QApplication(sys.argv) window = QWidget() window.setWindowTitle('PyQt6 with pyqt6-qt6 runtime') layout = QVBoxLayout() label = QLabel('Hello from PyQt6!') layout.addWidget(label) window.setLayout(layout) window.show() sys.exit(app.exec())
Debug
Known issues
gotchaThe `pyqt6-qt6` package provides the *runtime C++ libraries* of Qt6, not Python bindings or an API for direct import. Python applications should import modules directly from the `PyQt6` package (e.g., `from PyQt6.QtWidgets import QApplication`). Attempting to import from `pyqt6-qt6` will result in an `ImportError`.
fix
Ensure all Python-level imports use `PyQt6.*`.
affects: All versions
gotchaVersion compatibility between `pyqt6-qt6` and `PyQt6` is crucial. Mismatched versions (e.g., `PyQt6==6.5` and `pyqt6-qt6==6.11`) can lead to runtime errors, crashes, or unexpected behavior. It is generally recommended to install `PyQt6`, which will automatically pull in a compatible `pyqt6-qt6` version.
fix
Always install `PyQt6` directly via `pip install PyQt6` to ensure compatible dependencies, or explicitly match `pyqt6-qt6` version to your `PyQt6` installation if managing them separately.
affects: All versions
gotchaWhen deploying applications, remember that `pyqt6-qt6` bundles platform-specific binaries. If packaging your application (e.g., with PyInstaller or cx_Freeze), ensure that the target environment has the correct `pyqt6-qt6` binaries or that your packaging tool correctly includes them for the intended operating system.
fix
Test deployments on target OS environments. For cross-platform deployment, ensure separate builds for each OS, as the underlying Qt6 binaries are not universal.
affects: All versions
gotchaMultiple Qt installations (e.g., a system-wide Qt installation and the one provided by `pyqt6-qt6`) can lead to conflicts in environment variables (like PATH) or during runtime, causing applications to load incorrect Qt libraries.
fix
When troubleshooting, ensure that system PATH variables are not inadvertently pointing to other Qt installations. For isolated environments, consider using virtual environments or containerization.
affects: All versions
Errors
Common errors & fixes
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
The underlying Qt runtime libraries, provided by pyqt6-qt6, are either missing, corrupted, or cannot be found by the PyQt6 application, often due to an incomplete installation or deployment issue.
fix
Ensure PyQt6 (and its dependency pyqt6-qt6) is correctly installed in your environment. If deploying an application, ensure the Qt platform plugins (e.g., qwindows.dll, libqxcb.so) are correctly bundled alongside the necessary pyqt6-qt6 components. In development, 'pip install --force-reinstall PyQt6' often resolves it.
ModuleNotFoundError: No module named 'PyQt6'
The PyQt6 package, which depends on pyqt6-qt6, was not successfully installed or is not accessible in the current Python environment, potentially due to an underlying failure of the pyqt6-qt6 dependency.
fix
Install or reinstall PyQt6 using 'pip install PyQt6'. Ensure the installation completes without errors and that your Python environment (e.g., virtual environment) is correctly activated.
ModuleNotFoundError: No module named 'pyqt6-qt6'
Users mistakenly attempt to directly import 'pyqt6-qt6', expecting it to expose Python APIs. However, pyqt6-qt6 provides only the underlying C++ shared libraries and does not have any Python modules for direct import.
fix
pyqt6-qt6 is an internal dependency. Do not attempt to import it directly. Instead, import modules from the PyQt6 library, such as 'PyQt6.QtWidgets' or 'PyQt6.QtCore'.
ERROR: Could not find a version that satisfies the requirement pyqt6-qt6
pip failed to find a compatible distribution (wheel) for pyqt6-qt6 that matches your current Python version, operating system, or architecture, typically occurring during 'pip install PyQt6'.
fix
Update pip to the latest version ('pip install --upgrade pip'). Verify your Python version and OS are supported by the PyQt6 and pyqt6-qt6 releases. Try installing in a fresh virtual environment, and check for any network or proxy issues.
Upgrade
Version history
6.11.0latest on PyPI · released Mar 24, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
10
OpenAI (training)
1
Resources
pyqt6-qt6 — pip install pyqt6-qt6 · libregistry