[Interest] Qt5.2.1 with MinGW64

Christian Gagneraud chgans at gna.org
Tue Feb 18 02:36:38 CET 2014


On 18/02/14 00:50, salomeher at terra.com wrote:
> Hello,
>
> I get the following error when I try to compile Qt5.2.1 with MingGW to
> 64 bits
>
> ./.obj/debug/qhttpnetworkreply.o: In function `ZN17QHttpNetworkReplyD2Ev':
> c:\Qt\5.2.1MinGW64\src\network/access/qhttpnetworkreply.cpp:75:
> undefined refere
> nce to `z_inflateEnd'

Use the source!

#ifndef QT_NO_COMPRESS
     if (d->autoDecompress && d->isCompressed() && d->inflateStrm)
         inflateEnd(d->inflateStrm);
#endif

So you are building Qt with QT_NO_COMPRESS not defined, so it's using 
compression.

A look at access.pri tells:
include($$PWD/../../3rdparty/zlib_dependency.pri)

So you need zlib. Either you don't have it or the linker is having 
trouble finding it.

Chris

>
>
> What is the problem?
>
> Thank you
>
>
>
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>




More information about the Interest mailing list