2.1.55 QT6 problem
yaoberh opened this issue · 5 comments
yaoberh commented
When loading 'Morphman for Anki 2155':
Traceback (most recent call last):
File "/home/yaoberh/pyenv/lib/python3.10/site-packages/aqt/addons.py", line 247, in loadAddons
__import__(addon.dir_name)
File "/home/yaoberh/.local/share/Anki2/addons21/1032435232/__init__.py", line 99, in <module>
main()
File "/home/yaoberh/.local/share/Anki2/addons21/1032435232/__init__.py", line 47, in main
morphmanSubMenu = QMenu("MorphMan", mw)
TypeError: arguments did not match any overloaded call:
QMenu(parent: QWidget = None): argument 1 has unexpected type 'str'
QMenu(str, parent: QWidget = None): argument 2 has unexpected type 'AnkiQt'
kadedraven commented
Also doesn't work for me with 2.1.55 QT5
rltim151 commented
can confirm not working on anything above 2.1.49
no 2.1.54
no 2.1.55 QT5 or QT6
landonepps commented
Does this release fix the issue for you?
https://github.com/kaegi/MorphMan/releases/tag/v5.0-qt6-alpha.1
kadedraven commented
Currently working with the latest 2.1.55 release using your update. Thank you so much!On Jan 8, 2023, at 14:26, Landon Epps ***@***.***> wrote:
Does this release fix the issue for you?
https://github.com/kaegi/MorphMan/releases/tag/v5.0-qt6-alpha.1
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
roperscrossroads commented
This combination is working for me:
kaegi/MorphMan tag: v5.0-qt6-alpha.1 (qt6-migration branch)
Anki 2.1.55 Windows Qt6
ianki/MecabUnidic 3.1.0 (installed from MecabUnidic3.1.0.ankiaddon file)
@landonepps thank you for updating things to work in Qt 6!