The `pyqt5-qt5` package bundles a critical subset of the Qt installation required by PyQt5, enabling PyQt5 applications to run without a separate, system-wide Qt installation. It functions primarily as an internal dependency and is typically installed automatically by `pip` when the `PyQt5` package is installed. This package is licensed under the LGPL v3. As of its latest release, the current version is 5.15.18.
pip install pyqt5-qt5No compatibility data collected yet for this library.
The `pyqt5-qt5` package is not directly imported or used by end-user code. Instead, it provides the underlying Qt binaries for `PyQt5`. The quickstart below demonstrates a basic 'Hello World' application using `PyQt5`, which relies on `pyqt5-qt5` for its runtime environment.
Do not import `pyqt5-qt5` directly. All user-facing code should import from `PyQt5` (e.g., `from PyQt5.QtWidgets import QApplication`).
Always install `PyQt5` as the primary package; let `pip` manage `pyqt5-qt5` as its dependency.
Be aware of the package size during installation. Consider using virtual environments to isolate dependencies.
For new development, evaluate `PyQt6`. If migrating from `PyQt5` to `PyQt6`, refer to migration guides for syntax adjustments.
pip install PyQt5
Ensure PyQt5 is properly installed (e.g., `pip install --upgrade PyQt5`). If deploying, confirm the 'platforms' directory is accessible to the application or set the `QT_QPA_PLATFORM_PLUGIN_PATH` environment variable to its location.
pip install PyQtWebEngine
For GUI applications, ensure a display server (like Xorg) is running or use X-forwarding. For non-GUI tasks, set the environment variable `QT_QPA_PLATFORM=offscreen` before running the application.
No dependency data recorded yet.