[Interest] static qt without zlib

Konrad Rosenbaum konrad at silmor.de
Fri Nov 22 21:46:04 CET 2013


On Friday, Friday 22 November 2013 at 15:09, Tim Blechmann wrote:
> well it is not that i want to completely remove zlib, but i currently
> have too many of them ;)
> 
> > You might try to use a "system zlib", i.e. provide your own copy of zlib
> > as the one Qt links to and then use the one linked inside Qt.
> 
> i've already tried to compile with -system-zlib, but Qt5Core.lib still
> contains zlib symbols.
> or do i need to/am i able to explicitly specify my zlib when compiling qt?

Exactly, the symbols from the system zlib are now in the statically linked 
QtCore. How about not linking it to your own plugin again and instead using 
the zlib symbols from QtCore?

Zlib is actually pretty compatible, so this will generally work.



	Konrad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131122/ea354ce6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131122/ea354ce6/attachment.sig>


More information about the Interest mailing list