mirror of
https://github.com/ciromattia/kcc
synced 2026-07-02 02:55:29 +00:00
Allow older PyQT
This commit is contained in:
+3
-3
@@ -134,10 +134,10 @@ def dependencyCheck(level):
|
||||
if level > 2:
|
||||
try:
|
||||
from PyQt5.QtCore import qVersion as qtVersion
|
||||
if StrictVersion('5.4.0') > StrictVersion(qtVersion()):
|
||||
missing.append('PyQt 5.4.0+')
|
||||
if StrictVersion('5.2.1') > StrictVersion(qtVersion()):
|
||||
missing.append('PyQt 5.2.1+')
|
||||
except ImportError:
|
||||
missing.append('PyQt 5.4.0+')
|
||||
missing.append('PyQt 5.2.1+')
|
||||
if level > 1:
|
||||
try:
|
||||
from psutil import __version__ as psutilVersion
|
||||
|
||||
Reference in New Issue
Block a user