You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that Qt 6 has been released for over a year and is included in most distributions (including Ubuntu 22.04 LTS), porting Twinkle to it seems like a nice little project. 😄
The text was updated successfully, but these errors were encountered:
`QRegularExpression` was introduced in Qt 5.0 as a successor to
`QRegExp`, and while it is still supported under Qt6 (via
`Core5Compat`), the corresponding `QRegExpValidator` is not. Hence,
migrating will be required before being able to port to Qt 6 (LubosD#297).
While `QRegularExpressionValidator` is not always a drop-in replacement
for `QRegExp` (see the documentation¹ for details), in our case, it is.
Our use doesn't run into any of the situations listed, while our only
instance of `exactMatch()` uses a pattern that is already anchored.
¹ https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users
fbriere
added a commit
to fbriere/twinkle
that referenced
this issue
Sep 1, 2022
`QRegularExpression` was introduced in Qt 5.0 as a successor to
`QRegExp`, and while it is still supported under Qt 6 (via
`Core5Compat`), the corresponding `QRegExpValidator` is not. Hence,
migrating will be required before being able to port to Qt 6 (LubosD#297).
While `QRegularExpression` is not always a drop-in replacement for
`QRegExp` (see the documentation¹ for details), in our case, it is. Our
use doesn't run into any of the situations listed in the documentation,
while our only instance of `exactMatch()` uses a pattern that is already
anchored.
¹ https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users
Now that Qt 6 has been released for over a year and is included in most distributions (including Ubuntu 22.04 LTS), porting Twinkle to it seems like a nice little project. 😄
The text was updated successfully, but these errors were encountered: