mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
allow startup on qt 5.11
This commit is contained in:
parent
5ecd01cc99
commit
63f2ccdb3a
1 changed files with 2 additions and 2 deletions
|
@ -41,8 +41,8 @@ qtmajor = (QT_VERSION & 0xff0000) >> 16
|
|||
qtminor = (QT_VERSION & 0x00ff00) >> 8
|
||||
qtpoint = QT_VERSION & 0xff
|
||||
|
||||
if qtmajor != 5 or qtminor != 9:
|
||||
raise Exception("Anki only supports Qt 5.9.x at this time.")
|
||||
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.")
|
||||
|
||||
# GUI code assumes python 3.6+
|
||||
if sys.version_info[0] < 3 or sys.version_info[1] < 6:
|
||||
|
|
Loading…
Reference in a new issue