[Qbs] Using ConanfileProbe with yocto cross compiling toolchain

Kai Dohmen psykai1993 at googlemail.com
Fri May 15 09:45:31 CEST 2020


I just stumbled across a scenario in which we use with multiple profiles
for different cross compiling toolchains. Yocto creates a script which
exports environment variables. We normally just extract the needed values
from the script and set them as additional qbs profile settings.
This leads to the problem that the ConanfileProbe just calls "conan
install... -p..." without the needed environment variables. Thus when
install libraries they are getting compiled with the wrong
What is the proper way of doing this? How do I set the
environment variables? Should I set the variables in the Kit?


PS: the relevant conan documentation entry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20200515/6bf56e9a/attachment.html>

More information about the Qbs mailing list