[Qbs] Using ConanfileProbe with yocto cross compiling toolchain
richard at weickelt.de
Fri May 15 13:50:30 CEST 2020
> Sorry. I meant how to extract the environment variables from the yocto script.
> My idea was to source the script in a process
> with https://doc.qt.io/qbs/jsextension-process.html
> and then just query all the process environment variables with
> This way I would not need to parse the yocto script myself in the
Maybe you can write another script that
1. prints the environment variables
2. then sources the yocto script
3. then prints the environment variables again
Run this script in a Probe (with an appropriate shell) and parse the output
somehow. You may also omit step 1 and just use all environment variables
printed by script.
More information about the Qbs