Closed ElliottLester closed 1 year ago
@JasonS09 can you tell me if this breaks in your environment?
All the Qt objects should be imported directly from the QT package not from krita according to https://docs.krita.org/en/user_manual/python_scripting/krita_python_plugin_howto.html
This means we can run most of the code outside of the krita runtime and stub the krita namespace with https://github.com/rbreu/krita-python-mock So we can make more comprehensive tests.
consistent import order libs pyqt/krita internal
I did test this on my windows machine on Krita 5.3.0 and it seems to load and work so I'm going to say it should be ok.
@JasonS09 can you tell me if this breaks in your environment?
All the Qt objects should be imported directly from the QT package not from krita according to https://docs.krita.org/en/user_manual/python_scripting/krita_python_plugin_howto.html
This means we can run most of the code outside of the krita runtime and stub the krita namespace with https://github.com/rbreu/krita-python-mock So we can make more comprehensive tests.
consistent import order libs pyqt/krita internal