From c24f122d6ec79ce48b35e8b3a3def8b1eb99491f Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 6 Jun 2017 14:33:53 +1000 Subject: [PATCH] require qt 5.9 --- aqt/qt.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/aqt/qt.py b/aqt/qt.py index 91ddec502..0afb43a3d 100644 --- a/aqt/qt.py +++ b/aqt/qt.py @@ -38,8 +38,5 @@ qtmajor = (QT_VERSION & 0xff0000) >> 16 qtminor = (QT_VERSION & 0x00ff00) >> 8 qtpoint = QT_VERSION & 0xff -if ((qtmajor == 5 and qtminor == 7 and qtpoint == 0) or - (qtmajor == 5 and qtminor == 8 and qtpoint == 0)): - raise Exception("Your Qt version is known to be broken.") -elif qtmajor <= 5 and qtminor < 7: - raise Exception("Anki requires Qt 5.7.1+") +if qtmajor < 5 or (qtmajor == 5 and qtminor < 9): + raise Exception("Anki requires Qt 5.9.0+")