[Qbs] Depending on binary from install-root

Richard Weickelt richard at weickelt.de
Wed Sep 8 23:09:36 CEST 2021


> Any idea how I can force the rule to depend on the binary in install-
> root/bin?

I think it's cleaner to follow
https://code.qt.io/cgit/qbs/qbs.git/tree/examples/code-generator and use the
transpiler binary in the build directory. That is what your rule really
depends on (explicitlyDependsOnFromDependencies).

If you still need to deploy the transpiler first, then try to add
"installable" to your explicitlyDependsOn. All installed files get that tag
assigned and so your transpiler rule should wait until installation of all
dependency products has completed.

Richard


More information about the Qbs mailing list