[Development] Proposal: Use -qt-zlib configuration in official MinGW builds
Konrad Rosenbaum
konrad at silmor.de
Tue Nov 29 11:02:32 CET 2016
Hi,
On Monday 28 November 2016 17:11:19 Konstantin Tokarev wrote:
> Currently, MinGW builds in Coin use -system-zlib configuration. It happens
> because MinGW is shipped with zlib headers and libz.a. However, linking zlib
> to several Qt modules (at least, QtCore, QtGui, QtNetwork, and QtSvg) is
> suboptimal, while with -system-zlib one copy in QtCore is shared between
> all modules.
Please be aware that there are quite a few Applications out there that use
zlib independently of Qt - e.g. to encode/decode ZIP files. Unfortunately Qt
does not expose its internal zlib headers, nor does it wrap all functionality
of zlib. So at the very least qt-zlib needs to be linked in a way that allows
an additional version of zlib to be linked.
Konrad
More information about the Development
mailing list