anki/qt/aqt/forms/preview.py
2021-10-15 12:57:19 +10:00

6 lines
123 B
Python

from aqt.qt import qtmajor
if qtmajor > 5:
from .preview_qt6 import *
else:
from .preview_qt5 import * # type: ignore