void-packages/srcpkgs/anki/patches/001-qt.patch

12 lines
324 B
Diff

--- aqt/qt.py
+++ aqt/qt.py
@@ -38,7 +38,7 @@ qtmajor = (QT_VERSION & 0xff0000) >> 16
qtminor = (QT_VERSION & 0x00ff00) >> 8
qtpoint = QT_VERSION & 0xff
-if qtmajor != 5 or qtminor != 9:
+if qtmajor != 5 or qtminor < 9:
raise Exception("Anki only supports Qt 5.9.x at this time.")
# GUI code assumes python 3.6+