-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
PR: Add QEnum
macro for PyQt bindings
#424
Conversation
Thanks. Seems like @dalthviz , thoughts? |
According to docs, it should have been added to Qt5.5 already. (https://doc.qt.io/qt-5/whatsnew55.html) |
b6a9488
to
f2097d1
Compare
Tried adding a fallback for 5.9. EDIT: checks are passing now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the work here @phil65 ! Could it be possible to add some tests for this?
Other than that this LGTM 👍
To note, at least judging by what we've done in the past, it even can be pretty simple—even just an existence check on |
77e1ec9
to
43a60a2
Compare
Note: The errors in the tests come from pypa/pip#11975 and are unrelated to the changes done here |
Note: Re-running the CI checks shows that there is an error with PySide2 ( |
Will take a look again when I find some time. |
Just a note here in case it helps, the |
Hi @phil65 sorry for the sudden ping, just wondering, is it okay if I try to finish this? Let us know! |
QEnum
macro for PyQt bindings
I will try to finish this so please @phil65 don't push any other commit to your branch :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks @phil65!
Is it okay if we merge this one @CAM-Gerlach ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checking the very minor changes since my last approval, they all LGTM, thanks—sorry for the delay!
synchronizes macro naming with PySide