mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
8 lines
197 B
Python
8 lines
197 B
Python
from typing import TYPE_CHECKING
|
|
|
|
from aqt.qt import qtmajor
|
|
|
|
if qtmajor > 5 or TYPE_CHECKING:
|
|
from _aqt.forms.fields_qt6 import *
|
|
else:
|
|
from _aqt.forms.fields_qt5 import * # type: ignore
|