[Development] DEFAULT_INCDIR and DEFAULT_LIBDIR in Qt 5.8/configure
Thiago Macieira
thiago.macieira at intel.com
Wed Jan 18 20:31:22 CET 2017
On quarta-feira, 18 de janeiro de 2017 18:31:36 PST René J. V. Bertin wrote:
> Thiago Macieira wrote:
> >> Among the tweak I have in my script to build Qt for installation into
> >> /opt/local, using dependencies from there, I have a patch for
> >> qtbase/configure that prunes a number of unnecessary/undesirable items
> >> from
> >> DEFAULT_INCDIR and DEFAULT_LIBDIR (see below).
> >
> > Why do you need to prune anything?
>
> If memory serves me well unwanted libraries were being pulled in from
> Ubuntu's multiarch system libraries. Possibly system Qt5 libraries that
> I've since uninstalled.
While that may be so, the DEFAULT_XXXDIR is only tangentially related. They
don't add dirs to the search path. On the contrary: those remove paths that we
may have got from pkg-config or similar.
Also, the Xcode's clang doesn't search /usr/local/include when the --sysroot
option is passed. It's possible we performed an incorrect detection in Qt 5.7
and earlier, but the 5.8 detection should be better.
> As far as I can tell the patchfile was created almost 2y ago and never
> documented exactly what happened. It looks like the pruning is no longer
> necessary; time will tell whether I'll need to intervene in toolchain.prf.
Right, need more information.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list