[Qbs] How to pass information to custom module via Depends ?

Christian Kandeler christian.kandeler at qt.io
Wed Feb 15 16:38:20 CET 2017


On 02/15/2017 04:10 PM, Glenn Coombs wrote:
> What is the procedure for creating suggestion issues on JIRA - is it okay
> to just create one or is it best to ask questions on this list first ?

If you feel you have a good understanding of the problem, then just go
ahead and create the bug report. We can always close it if we don't
agree, and it's a more suitable platform for discussing bugs and
concrete features.

> Specifically, I'm thinking about the way that PkgConfigProbe uses the PATH
> environment to find the pkg-config executable.  When cross compiling it
> would be more convenient for it to prepend the toolchain directory to the
> PATH so that the target version of pkg-config is used instead of the host
> version.

Why? As far as I understand, the knowledge is inside the .pc files, not
the tool itself. And the respective environment variables
(PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_LIBDIR) are set to suitable
values in the presence of a sysroot, so I don't see what the issue with
cross-compiling would be.


Christian



More information about the Qbs mailing list