from aqt.qt import qtmajor if qtmajor > 5: from _aqt.forms.studydeck_qt6 import * else: from _aqt.forms.studydeck_qt5 import * # type: ignore