diff --git a/README.development b/README.development index 61263dcfd..8c9aebcd6 100644 --- a/README.development +++ b/README.development @@ -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 diff --git a/aqt/qt.py b/aqt/qt.py index d2a87d1a0..7dc44438a 100644 --- a/aqt/qt.py +++ b/aqt/qt.py @@ -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.") \ No newline at end of file +if qtmajor != 5 or qtminor != 9: + raise Exception("Anki only supports Qt 5.9.x at this time.")