I'm looking into migrating my application using libcommuni to Qt6. In the new major version, QRegExp has been fully deprecated. While it can be used with Qt6 by importing hacky qt5compat module (which brings some old deprecated modules if needed), it's still good to update the code.
Replaced QRegExp with QRegularExpression in tests
Replace most QRegExp occurences with QRegularExpression
I've also noticed some old code there check for older version of Qt - I've looked up in changelog that is was added in [3.1.0] - 2014-03-08 and figured that this check can be now removed, so I did just that.
I'm looking into migrating my application using libcommuni to Qt6. In the new major version,
QRegExp
has been fully deprecated. While it can be used with Qt6 by importing hacky qt5compat module (which brings some old deprecated modules if needed), it's still good to update the code.I've also noticed some old code there check for older version of Qt - I've looked up in changelog that is was added in
[3.1.0] - 2014-03-08
and figured that this check can be now removed, so I did just that.