QRegExp is deprecated in qt6

Lorenzo Bertini lorenzobertini97 at gmail.com
Sun Feb 12 19:46:31 UTC 2023


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?

-- 
lorenzo


More information about the lyx-devel mailing list