diff options
author | Florian Bruhin <git@the-compiler.org> | 2017-10-12 22:41:03 +0200 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2017-10-12 22:41:52 +0200 |
commit | bf1d6acb062cc5767dea25fb28d40660f489bab6 (patch) | |
tree | fd61affe5c847c08469c5ad29d73b5fdc6db36f8 | |
parent | 07b1b3fbd4c00769e076894c39cac63809968941 (diff) | |
download | qutebrowser-bf1d6acb062cc5767dea25fb28d40660f489bab6.tar.gz qutebrowser-bf1d6acb062cc5767dea25fb28d40660f489bab6.zip |
Properly fix up version checks...
-rw-r--r-- | qutebrowser/misc/earlyinit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/misc/earlyinit.py b/qutebrowser/misc/earlyinit.py index 84969a17d..bcaaf8051 100644 --- a/qutebrowser/misc/earlyinit.py +++ b/qutebrowser/misc/earlyinit.py @@ -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(), |