-
-
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
QRegExp becomes QRegularExpression in PySide6 #288
Conversation
(used per guidata)
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.
LGTM, thanks @stonebig !
Related #233 |
@stonebig Browsing winpython/winpython#1030 I see you mentioned the fix for Also, definitely looking forward to @impact27 's significant performance optimizations in 5.2.1; they only barely missed the cut for 5.2.0. |
To get guidata truly working on python-3.10 on pyside6-6.2.1 , I needed that simple fix and re-adding py3compat.py file. Guidata has not yet dropped python-2.7, so this temporary gymnastic. |
QRegularExpression is not compatible with QRegExp. https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users I think this mapping may cause a surprised error when a user application which use QRegExp runs with QT_API=pyside6. |
Seems it is incompatible with QRegExp
Thanks very much, @kumattau . @stonebig , given per the above docs QRegularExpression is supported in Qt5 (and Qt6), since QtPy 2.x will only officially support PyQt >=5.9 and PySide2 >= 5.12, if those versions support QRegularExpression, would it make sense to just support that with QtPy and update your dependent code accordingly (and maybe raise a |
Hi @stonebig , checking this seems like Maybe then the Also, thanks @kumattau and @CAM-Gerlach for taking the time to review this 👍 |
A yes, it seems just imported... |
Will try to get guidata cleaned from that and py3compat.py, so. |
(used per guidata)