From 3cb073878a13079185be8fde9f70401da297bbdf Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 25 Oct 2018 14:48:08 +1000 Subject: [PATCH] allow startup on qt5.12+ an intermittent issue with the webview on macOS, but otherwise appears ok in initial tests --- aqt/qt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aqt/qt.py b/aqt/qt.py index 8747303e5..537b9557a 100644 --- a/aqt/qt.py +++ b/aqt/qt.py @@ -41,8 +41,8 @@ qtmajor = (QT_VERSION & 0xff0000) >> 16 qtminor = (QT_VERSION & 0x00ff00) >> 8 qtpoint = QT_VERSION & 0xff -if qtmajor != 5 or qtminor not in (9, 11): - raise Exception("Anki only supports Qt 5.9.x and 5.11.x at this time.") +if qtmajor != 5 or qtminor < 9 or qtminor == 10: + raise Exception("Anki does not support your Qt version.") # GUI code assumes python 3.6+ if sys.version_info[0] < 3 or sys.version_info[1] < 6: