QRegExp is deprecated in qt6

Scott Kostyshak skostysh at lyx.org
Sun Feb 12 19:53:58 UTC 2023


On Sun, Feb 12, 2023 at 08:46:31PM +0100, Lorenzo Bertini wrote:
> Dear list,
> 
> trying to compile with --enable-qt6 gives the following error:
> 
> > qstring_helpers.cpp:21:10: fatal error: QRegExp: File o directory non esistente
> >    21 | #include <QRegExp>
> >       |          ^~~~~~~~~
> 
> In the page https://doc.qt.io/qt-6/qregexp.html it says:
> 
> > This class is deprecated in Qt 6. Please use QRegularExpression instead for all new code
> 
> What can be done to help?

Hi Lorenzo,

Which version or Git hash are you trying to compile?

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230212/6f7ee3fb/attachment-0001.asc>


More information about the lyx-devel mailing list