[prev in list] [next in list] [prev in thread] [next in thread]
List: lyx-devel
Subject: Re: [LyX/master] Allow compiling with Qt6
From: Kornel Benko <kornel () lyx ! org>
Date: 2021-03-16 14:53:53
Message-ID: 20210316155353.01f0e548 () admin1-desktop
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Am Tue, 16 Mar 2021 15:43:59 +0100
schrieb Enrico Forestieri <forenr@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 #5 (application/pgp-signature)]
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic