Open matthieubruneau opened 4 years ago
I encounter the same the problem, with pyside2 or pyside6
I think it is designed to work solely with qtpy. we use Qt.py wrapper (https://github.com/mottosso/Qt.py) and it breaks too. I was only able to get it to work with qtpy.
Python 3.8.5 and PySide2 5.15.2 here, the same error
This sounds like a qtpy error, but I would look into it. qtpy purpose is to make sure the same code can be run on PySide or PyQt. We are using it here so that the users can use qtmodern independent if they already are using PySide or PyQt in their application, there shouldn't be a need to use qtpy directly.
Unfortunately PySide6 isn't supported by qtpy so it's expected not to work there. But it should work with PySide2.
I would love if someone could also provide me with a minimal reproduction case, as well as which versions of qtpy, python and PySide2 you were using.
Hi, I'm currently trying to use your palette on my application. I did what you showed in the readme, and it's telling me this error when I am running the code:
Can it be because I'm using PySide2 and not qtpy? because I tried while importing with qtpy and this issue gets removed.