[Qt-interest] Configure libjpeg and libmng to be built statically

Roland Hieber rohieb at rohieb.name
Tue Apr 6 03:39:15 CEST 2010


I'm doing a static build of Qt-4.6.2, and want to have libpng and libtiff.
Since configure warns me about plugins:

> WARNING: Using static linking will disable the use of plugins.
>          Make sure you compile ALL needed modules into the library.

I try to use the bundled libs. For GIF, MNG and PNG (-qt-gif -qt-libpng
-qt-libmng) this works just fine, but when I try -qt-libjpeg -qt-libtiff, I
nevertheless get:

> C:\qt-4.6.2>configure -static -opensource -release -qt-gif -qt-libpng -qt-libjpeg -qt-libmng -qt-libtiff
> [...]
> Third Party Libraries:
>     ZLIB support............qt
>     GIF support.............yes
>     TIFF support............plugin
>     JPEG support............plugin
>     PNG support.............qt
>     MNG support.............qt
>     FreeType support........no

So, is it possible to have these libs built statically at all?

Regards,
Roland Hieber



More information about the Qt-interest-old mailing list