Fix wrong inport of PyQt5 version (#1324)

This commit is contained in:
Veronica Berglyd Olsen
2023-01-29 02:13:32 +01:00
parent e2f7e77ec2
commit 0c75a53e57
5 changed files with 14 additions and 27 deletions
+2 -2
View File
@@ -179,12 +179,12 @@ def main(sysArgs=None):
"At least Python 3.7 is required, found %s" % CONFIG.verPyString
)
errorCode |= 0x04
if CONFIG.verQtValue < 51000:
if CONFIG.verQtValue < 0x050a00:
errorData.append(
"At least Qt5 version 5.10 is required, found %s" % CONFIG.verQtString
)
errorCode |= 0x08
if CONFIG.verPyQtValue < 51000:
if CONFIG.verPyQtValue < 0x050a00:
errorData.append(
"At least PyQt5 version 5.10 is required, found %s" % CONFIG.verPyQtString
)