diff --git a/aqt/qt.py b/aqt/qt.py index 0a5626c98..ee103235d 100644 --- a/aqt/qt.py +++ b/aqt/qt.py @@ -34,3 +34,7 @@ qtconf = pyqtconfig.Configuration() qtmajor = (qtconf.qt_version & 0xff0000) >> 16 qtminor = (qtconf.qt_version & 0x00ff00) >> 8 +# qt4.6 doesn't support ruby tags +if qtmajor <= 4 and qtminor <= 6: + import anki.template.furigana + anki.template.furigana.ruby = r'\2\1'