avoid running on qt 5.11
updates will be needed for Qt's latest round of breaking changes
This commit is contained in:
parent
46a540e22f
commit
e93dedc7c6
@ -12,8 +12,8 @@ provide support for problems you encounter when running from source.
|
||||
|
||||
Anki requires:
|
||||
|
||||
- Python 3.6+
|
||||
- Qt 5.9+ and a PyQT that supports it
|
||||
- Python 3.5+
|
||||
- Qt 5.9.x and a PyQT that supports it
|
||||
- mpv
|
||||
- lame
|
||||
|
||||
|
@ -38,7 +38,5 @@ qtmajor = (QT_VERSION & 0xff0000) >> 16
|
||||
qtminor = (QT_VERSION & 0x00ff00) >> 8
|
||||
qtpoint = QT_VERSION & 0xff
|
||||
|
||||
if qtmajor < 5 or (qtmajor == 5 and qtminor < 9):
|
||||
raise Exception("Anki requires Qt 5.9.0+")
|
||||
if qtmajor == 5 and qtminor == 10:
|
||||
raise Exception("Qt 5.10 is known to be buggy.")
|
||||
if qtmajor != 5 or qtminor != 9:
|
||||
raise Exception("Anki only supports Qt 5.9.x at this time.")
|
||||
|
Loading…
Reference in New Issue
Block a user