Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with pyqt6 #179

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

melodieborel
Copy link

Hello (salut Sam!!)
I have added compatibility for pyqt6 since it is the version I use. It now works with my (so far very basic) usage of the library. I guess you had it commented as a possible QT_MODE because of the slightly different structure of some enums. For those (I have tried to be extensive, yet I might have missed a few), I used QT_MODE as a condition to access the right variable "path".
However, I couldn't successfully run the included pytests, as it fails quickly at the test for Neo rawio sources. I assume I don't have the right test files so I didn't worry much about this.
Please consider including the PyQt6 compatibility for your next release of the package.
All the best

@samuelgarcia
Copy link
Collaborator

Salut Melodie,
the PySide6 compatibility should be handle only in myqt.py.
Not in all all views!! This will be impossible to maintain if we go in this direction.

For PySide6 compatibility we should instead add QT.Qt.KeyboardModifier as submodules in the dynamic wrapper and this should works directy. Could you try that ?

@melodieborel
Copy link
Author

melodieborel commented Mar 12, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants