Itmay also work with a Qt installation built from source but this is unsupported.On Windows the binary installer for MSVC 2015 or MSVC 2017 must be used.The following describes the command line options of pyqtlicense.h, -helpDisplay a help message and exit.V, -versionDisplay the version number and exit.build-tag TAGThis specifies that TAG should be used as the build tag in the name ofthe generated wheel. The licensed wheel contains acopy of the necessary parts of Qt and can be installed using pip3.pyqtlicense assumes that the Qt installation has been created fromone of the LGPL or commercial binary installers provided by The Qt Company. Installing the Commercial VersionIt is not possible to provide wheels for the commercial version in the same waythey are provided for the GPL version.the user’s license information has to be is not possible to distribute a copy of the commercial version of Qt.Instead unlicensed wheels are provided which do not include a copy of Qt.The program pyqtlicense is provided which takes the unlicensedwheel, the pyqt-commercial.sip license file and the location of the Qtinstallation and generates a licensed wheel.
Thereis no need to install Qt yourself.SIP is packaged as a separate wheel which will be downloaded and installedautomatically.To uninstall the GPL version, run. The wheel will be automatically downloaded fromthe Python Package Index.If you get an error message saying that no downloads could be found thatsatisfy the rquirement then you are probably using an unsupported version ofPython.The PyQt5 wheel includes the necessary parts of the LGPL version of Qt.
Pip3 install pyqt5This will install the wheel for your platform and your version of Python(assuming both are supported).
PyQt5 v5.1 will support all the featuresof supported modules of Qt v5.0 and those new features introduced in Qt v5.1.In summary, you should always try and use the latest version of PyQt5 no matterwhat version of Qt v5 you are using.
This would resultin a change of patch version only.The major and minor versions of the latest release of PyQt5 will be the sameas the latest release of Qt v5.The maintenance numbers of PyQt5 and Qt v5 are entirely unrelated to eachother.So, for example, PyQt5 v5.1 will build against Qt v5.2 but will not support anynew features introduced in Qt v5.2.