Properly fix up version checks...
This commit is contained in:
parent
07b1b3fbd4
commit
bf1d6acb06
@ -171,7 +171,7 @@ def check_qt_version():
|
||||
from PyQt5.QtCore import (qVersion, QT_VERSION, PYQT_VERSION,
|
||||
PYQT_VERSION_STR)
|
||||
from pkg_resources import parse_version
|
||||
if (QT_VERSION < 0x050710 or PYQT_VERSION < 0x050700 or
|
||||
if (QT_VERSION < 0x050701 or PYQT_VERSION < 0x050700 or
|
||||
parse_version(qVersion()) < parse_version('5.7.1')):
|
||||
text = ("Fatal error: Qt >= 5.7.1 and PyQt >= 5.7 are required, "
|
||||
"but Qt {} / PyQt {} is installed.".format(qt_version(),
|
||||
|
Loading…
Reference in New Issue
Block a user