[LyX/master] Allow compiling with Qt6
Kornel Benko
kornel at lyx.org
Tue Mar 16 10:08:03 UTC 2021
Am Tue, 16 Mar 2021 10:44:13 +0100
schrieb Enrico Forestieri <forenr at lyx.org>:
> On Mon, Mar 15, 2021 at 10:52:19PM -0400, Scott Kostyshak wrote:
> >
> > Are there still QRegExp that need to be changed? I got an error from
> > src/support/qstring_helpers.cpp.
>
> I actually don't know. Let me explain. There should be a compatibility
> layer for using Qt5 constructs, so I didn't search for all occurrences
> of QRegExp's but only changed the places where I was getting compiling
> errors.
Why not use QRegularExpression as in src/lyxfind.cpp?
> The code in qstring_helpers.cpp compiled without issues for me
> on both Linux and Windows, and thus I did not touch it.
> What kind of error are you getting?
>
> > Also, why use
> >
> > #include <QtCore5Compat/QRegExp>
> >
> > in CategorizedCombo.cpp, but not other places?
>
> Because it was the only place where I had to explicitly include it.
>
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210316/32928102/attachment.asc>
More information about the lyx-devel
mailing list