Am Tue, 16 Mar 2021 10:44:13 +0100
schrieb Enrico Forestieri <for...@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

Attachment: pgpyls7NZpIsj.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