diff options
author | Paweł Jastrzębski <pawelj@iosphe.re> | 2015-09-16 08:47:59 +0200 |
---|---|---|
committer | Paweł Jastrzębski <pawelj@iosphe.re> | 2015-09-16 08:47:59 +0200 |
commit | 00969a373938c66f8d31adc7e0c197d60347f022 (patch) | |
tree | 22ff34bf81aff0547c4886c89fe6129519dcd91c | |
parent | Yet another Windows file lock fix (diff) | |
download | kcc-00969a373938c66f8d31adc7e0c197d60347f022.tar.gz kcc-00969a373938c66f8d31adc7e0c197d60347f022.tar.bz2 kcc-00969a373938c66f8d31adc7e0c197d60347f022.zip |
Allow older PyQT
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | kcc/shared.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md index 0d22719..2f8d0ef 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ You can find the latest released binary at the following links: ## DEPENDENCIES Following software is required to run Linux version of **KCC** and/or bare sources: - Python 3.3+ -- [PyQt](http://www.riverbankcomputing.co.uk/software/pyqt/download5) 5.4.0+ +- [PyQt](http://www.riverbankcomputing.co.uk/software/pyqt/download5) 5.2.1+ - [Pillow](http://pypi.python.org/pypi/Pillow/) 2.8.2+ - [psutil](https://pypi.python.org/pypi/psutil) 3.0.0+ - [python-slugify](http://pypi.python.org/pypi/python-slugify) 1.1.3+ diff --git a/kcc/shared.py b/kcc/shared.py index 8a2aa86..6393c32 100644 --- a/kcc/shared.py +++ b/kcc/shared.py @@ -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 |