On Mon, 28 Dec 2020 at 18:48, Kornel Benko <kor...@lyx.org> wrote: > We use utf-8 encoded strings. > In order to fully use regular expressions in FindAdv, we need the created > regex be case > sensitive. This works good for ascii charaters, but fails on > > The try to use docstring works better on unix systems. But there are some > problems. > 1.) regexes are still unable to handle case-insensivity for e.g. cyrillic > characters, > although one can here already use constructs like [а-и]. > 2.) under mingw we get 'invalid regex' error. > This means, that using docstring does not help much. > > The next try is using QString. This works pretty good, but uses classes > introduced in QT5. > > The differences in lyxfind.cpp are big, so that using '#ifdef's does not > seem appropriate. > (See attached) > > So the question is: Can we drop support for QT4 in master? > Or has someone a better sollution? >
Given that Qt 6 is now out, and that Qt 4 has been unmaintained for roughly five years ( https://www.qt.io/blog/2014/11/27/qt-4-8-x-support-to-be-extended-for-another-year), it would make sense.
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel