[Development] qtbase/d8be811 makes it impossible to specify include path for zlib when building qtbase?

Kasper F. Brandt poizan at poizan.dk
Fri Aug 19 15:22:52 CEST 2016


On Fri, Aug 19, 2016 at 12:53 PM, Oswald Buddenhagen <
oswald.buddenhagen at qt.io> wrote:

> On Thu, Aug 18, 2016 at 04:26:30PM +0200, Kasper F. Brandt wrote:
> > In d8be811[0] qt_build_extra was made to skip the inclusion of
> > EXTRA_DEFINES, EXTRA_INCLUDEPATH and EXTRA_LIBS into resp.
> > DEFINES, INCLUDEPATH and INCLUDEPATH. This means that if you e.g. try to
> > specify the include path to zlib with -I <path/to/zlib/headers> to
> > configure then the compilation of bootstrap fails in qbytearray.cpp
> because
> > it can't find zconf.h.
> >
> if it fails to find the .h now, it will fail to find the .so/.a later
> on as well.
>

I'm building against a static zlib build (on windows actually), and I can
tell that it works just fine if I revert that commit.


> it could have worked before only if you mixed the host paths into the
> target paths, and made sure that the target would not actually use them
> (i.e., -qt-zlib, and having the paths not contain any of the other
> libraries qt could find), which is rather fragile.
>

It only applies to host builds so I don't understand this. The target and
the host systems are the same.

> Is there some other way you are supposed to specify the include path,
> > or is this an oversight?
> >
> i think the commit message is pretty clear in this regard.
>

> make -D/-I/-L/-l/-R not affect bootstrapped tools

No?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20160819/145fb4af/attachment.html>


More information about the Development mailing list