Error: This version of PyQt5 and the commercial version of Qt have incompatible licenses.
-
Everything the wizard installs goes in the Qt folder created by him, there's nothing running around except maybe the license file
-
Thank you.
Since I ran out of ideas and I don't want to waste too much time on this I just downgraded to PyQt4. I'm using ubuntu at the moment and installed qt4 from the repos.
# apt-get install qt-sdk
Everything is working fine now. Hope this will help someone else.
-
I've run into the exact same problem as described here for
PyQt-gpl-5.4.2
qt-unified-linux-x64-2.0.2-1-online.run
-> /opt/Qt/5.5$ qmake --version
QMake version 3.0
Using Qt version 5.5.0 in /opt/Qt/5.5/gcc_64/libAs I'm forced to go with QT 5 for several reasons, this is a little bit anoying. Are there solution to get the GPL versions working together either in a Linux or Windows environment ?
Thanks
Syracus -
@syracus I ran into the same problem under OSX. My local open source QT5 reports "Builder" instead of the expected "Open Source" for target_config.qt_licensee in PyQT's configure.py. The compilation goes through smoothly once you uncomment the offending lines though.
-
In the 'configure.py' script of PyQt, just comment out lines 2591 to 2594, where it compares whatever it thinks the Qt license type is to "Open Source"
-
Commenting out lines 2591 to 2594 in configure.py PyQt5.5.0 solved the problem. Successfully installed PyQt inside virtual environment on Os X with Python3.5, PyQt5.5 and Sip4.16.9 configurations.
-
Looks like configure.py got updated so the line numbers need to comment out the license error have changed. Commenting out lines 2681 to 2684 worked for me. Hopefully this helps someone.
-
@Smoketurtt said in Error: This version of PyQt5 and the commercial version of Qt have incompatible licenses.:
Looks like configure.py got updated
Looks like configure.py got updated AGAIN. I comented out lines from 2674 to 2677.
# Common checks. # if introspecting and target_config.qt_licensee not in OPEN_SOURCE_LICENSEES and ltype == 'GPL': # error( # "This version of PyQt5 and the commercial version of Qt have " # "incompatible licenses.")