QRegExp is deprecated in qt6

Stephan Witt st.witt at gmx.net
Thu Mar 2 17:29:23 UTC 2023


Am 02.03.2023 um 15:57 schrieb Jean-Marc Lasgouttes <lasgouttes at lyx.org>:
> 
> Le 20/02/2023 à 17:47, Jean-Marc Lasgouttes a écrit :
>> Le 13/02/2023 à 21:29, Richard Kimberly Heck a écrit :
>>>>> Indeed! So we should get rid of QRegexp now.
>>>> 
>>>> Riki, would that be OK? What I have in mind is that whatever bug with this newer code will be found earlier if more users are running it.
>>> 
>>> Yes, fine with me.
>>> 
>>> I have been waiting to talk about next steps until we have some idea what to do about the shortcut problem on OSX. That seems a large issue.
>> This patch removes all traces of QRegExp. It will obviously need testing, but this is already the code used with Qt6.
> 
> Riki, is this OK to apply?
> 
>> What I do not know is whether we can get rid of QtCore5Compat library. Is it useful for anything beyond QRegExp?
> 
> Enrico, Stephan Kornel, do you know something about needing QCore5Compat?

ATM, Qt6 is unusable on Mac because of bug 12641. :(

OTOH, Scott and Kornel mentioned QTextCodec already. So, there is some work to do.

Stephan


More information about the lyx-devel mailing list