communi / libcommuni

A cross-platform IRC framework for Qt
https://communi.github.io
BSD 3-Clause "New" or "Revised" License
83 stars 38 forks source link

Replace deprecated QRegExp with QRegularExpression #100

Closed zneix closed 3 years ago

zneix commented 3 years ago

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.