master compile errors gzlib?
Yu Jin
technikmagma at gmail.com
Fri Dec 16 21:42:07 UTC 2022
Am Fr., 16. Dez. 2022 um 21:47 Uhr schrieb Scott Kostyshak:
> On Fri, Dec 16, 2022 at 09:18:08PM +0100, Yu Jin wrote:
> > Done at 26a3a085
>
> Sorry for the late comment Yu Jin, but should that line be conditional
> on (not?) LYX_EXTERNAL_Z?
>
> I'm guessing that the answer is that it's only necessary if
> LYX_EXTERNAL_Z is OFF, but that if LYX_EXTERNAL_Z is ON, it doesn't
> hurt? If this is indeed the answer, I think I would still be in favor of
> adding the conditional, although not a strong opinion.
sounds plausible actually. How do I use external Zlib though? I mean Qt
does not seem to have a zlib.lib somewhere in the kit, so including Qts
zlib.h does not make sense then either. Would I have to compile my own
zlib.lib separately and use the corresponding zlib.h? Then I would also not
need QtZlib, indeed I would also get the same error if I compiled a
different zlib.lib version then Qts zlib.h... As I already wrote, the whole
thing seems kinda suspicious. The variable is called
_Qt6ZlibPrivate_OWN_INCLUDE_DIRS, "private" suggests like it is just for
Qt, not for the application which uses Qt (like LyX), so why does it
include it in LyX in the first place?
I mean I don't know, as I wrote my commit was a workaround rather than a
solution...
--
Eugene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221216/16a9345c/attachment.html>
More information about the lyx-devel
mailing list