mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
require qt5.7.1+
This commit is contained in:
parent
259023f369
commit
1405cddc6e
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ qtmajor = (QT_VERSION & 0xff0000) >> 16
|
|||
qtminor = (QT_VERSION & 0x00ff00) >> 8
|
||||
qtpoint = QT_VERSION & 0xff
|
||||
|
||||
if qtmajor < 5 or (qtmajor == 5 and qtminor < 5):
|
||||
raise Exception("Qt must be 5.5+")
|
||||
if qtmajor == 5 and qtminor == 7 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+")
|
||||
|
|
Loading…
Reference in a new issue