If you have purchased a commercial license then please login to your account using the details sent to you at the time of purchase.
PyQt5 is provided as a source distribution (sdist) and binary wheels from PyPI. The wheels include copies of the corresponding Qt libraries. To install it run:
pip install PyQt5
PyQt6, the bindings for Qt v6, is currently in development. At the moment it builds against Qt v5 but introduces a number of incompatibilities with PyQt5.
SIP v6 is required to build the snapshot. To build the
sip module for PyQt6, run:
sip-module --project PyQt6.sip
PyQt6 introduces the following incompatibilities with PyQt5:
enum.IntEnumfor scoped enums and a custom type for traditional named enums). PyQt5 allowed an int whenever an enum was expected but PyQt6 requires the correct type.
QFlagsare implemented as
Q_CLASSINFOhas been replaced by the
Q_FLAGhave been replaced by the
Q_FLAGShave been removed.
exec_()methods have been removed.
print_()methods have been removed.
Qtmodule has been removed.
QtWidgets.qApphas been removed.
QtCore.PYQT_CONFIGURATIONdict has been removed.
pylupdatecan no longer read a
.profile in order to determine the names of
.pyfiles to translate.
pyrcchas been removed.
Other compatibilities may be added during the development of PyQt6.
PyQt5 is the current stable release of PyQt. This is a snapshot of the next release of PyQt5 including all bug fixes.
This is the last release of PyQt4. No more releases will be made.
Before you can build PyQt4 from sources you must have already installed SIP v4.