master compile errors gzlib?
Kornel Benko
kornel at lyx.org
Thu Dec 8 15:11:30 UTC 2022
Am Thu, 8 Dec 2022 09:52:29 -0500
schrieb Scott Kostyshak <skostysh at lyx.org>:
> On Mon, Dec 05, 2022 at 10:15:18PM +0100, Yu Jin wrote:
> > Am Mo., 5. Dez. 2022 um 10:39 Uhr schrieb Pavel Sanda <sanda at lyx.org>:
> >
> > >
> > > Given that on major linux distributions will still link against qt5
> > > I think stikcing for 2.4 with Qt 5 is just fine...
> >
> >
> > I think my curiosity helped here :)
> >
> > So I found out that there is different version of zlib in the Qt versions,
> > the working Qt has a version 1.2.11 (I can see it in the zlib.h in e.g.
> > C:\Qt\6.3.1\msvc2019_64\include\QtZlib folder and the broken Qt Versions
> > have 1.2.12 or 13.
> > I digged a bit more and found that our projects in Visual Studio include
> > those QtZlib folders for some reason:
> > and lyx's zlib folder gets included further below which means it has lower
> > priority. If I just remove the QtZlib include from the project, compilation
> > works. Can we do something in CMake here so that QtZlib is not included?
>
> CC'ing Kornel if he has time to take a look at the CMake question.
>
> Scott
I really have no idea. I don't even have QtZlib directory on my system.
Even searching with 'apt-file find QtZlib'
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/20221208/ac194914/attachment.asc>
More information about the lyx-devel
mailing list