QRegExp is deprecated in qt6
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Mon Feb 13 11:11:22 UTC 2023
Le 13/02/2023 à 11:58, Jean-Marc Lasgouttes a écrit :
> Le 12/02/2023 à 22:04, Scott Kostyshak a écrit :
>> On Sun, Feb 12, 2023 at 09:35:19PM +0100, Jean-Marc Lasgouttes wrote:
>>> Le 12/02/2023 à 21:08, Scott Kostyshak a écrit :
>>>>> Master branch
>>>>
>>>> I see. Indeed it seems there's still instances of it. I wonder if in
>>>> earlier Qt 6 versions it was a warning so that is why it used to work?
>>>
>>> Is there a reason why we could not get rid of QRegExp now that Qt4 is
>>> gone?
>>
>> I think someone just has to do the work. For example, 635a7d77 suggests
>> that it is not trivial.
>
> The example we see here is in support/qstring_helpers.cpp. It should be
> trivial enough.
>
> What I do not know though is whether
> 1/ there are other places
> 2/ QRegularExpression is good enough with early Qt5 version (not that we
> care much about them, actually).
This compiles fine, but I'd rather wait for Kornel, who is our local
QRegExp expert.
JMarc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qre.diff
Type: text/x-patch
Size: 1259 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230213/d9140804/attachment.bin>
More information about the lyx-devel
mailing list