How did you get PyQt6.2? The latest I got just now via pip is PyQt6-Qt6-6.1.2.
I had to give up on the merged branch. I checked out your branch directly, and it's running. Now I just have to make sure I don't accidentally commit anything to it.
OK, now works again with both pyqt5 and pyqt6. PR has been issued.
I tried the imports in a stand-alone node. They did need the version test.
Imo, it's essential that all the crappy details of accessing symbols be hidden from "client code". That is, only leoQt4.py, leoQt5.py and leoQt6.py should know, say, where QActionGroup is. We don't want to "distribute" that horror show.
Imo, it's essential that all the crappy details of accessing symbols be hidden from "client code". That is, only leoQt4.py, leoQt5.py and leoQt6.py should know, say, where QActionGroup is. We don't want to "distribute" that horror show.I'll certainly agree with that as a goal! But we may be playing catchup forever, because I'm sure that leoQtx isn't going to be translating everything in QT. At some future time someone may need to use one that LeoQtx doesn't know about.
I see you handled QActionGroup, but not QAction. Would you please include QAction, then I'll try it out.