Am Tue, 16 Mar 2021 15:43:59 +0100
schrieb Enrico Forestieri <for...@lyx.org>:

> On Tue, Mar 16, 2021 at 11:08:03AM +0100, Kornel Benko wrote:
> > 
> > Why not use QRegularExpression as in src/lyxfind.cpp?  
> 
> What do you mean? Unconditionally replacing QRegExp? I don't think it
> can be done without dropping support for Qt4.
> 

I meant instead of Compatibility directly use QRegExp or QRegularExpression

        if (QT_VERSION >= 0x050000) {
                // define some macros for QRegularExpression
        }
        else {
                // define some macros for QRegExp
        }

But that is maybe too much work.

        Kornel

Attachment: pgpiwXlG9nzBG.pgp
Description: Digitale Signatur von OpenPGP

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to