QRegExp is deprecated in qt6

Lorenzo Bertini lorenzobertini97 at gmail.com
Sun Feb 12 19:54:48 UTC 2023


Il 12/02/23 20:53, Scott Kostyshak ha scritto:
> 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

Master branch

-- 
lorenzo


More information about the lyx-devel mailing list