On Mon, 21 Sep 2020 13:15:58 +0000
Jochen Ulrich <jochen.ulr...@clausmark.com> wrote:

> PS: And if you want to run an executable which is built as part of your 
> project, then the product should of course depend on that executable to make 
> sure it is built before.

Yes.

> And the rule should use the executable's `Product.targetName` and ` 
> Product.destinationDirectory` properties to determine the path of the 
> executable.

No. Instead, the rule should take "application" (or a more unique tag if 
necessary) as "explicitlyDependsOnFromDependencies" and access the executable 
via the artifact, i.e. "explicitlyDependsOn.application[0].filePath".


Christian
_______________________________________________
Qbs mailing list
Qbs@qt-project.org
https://lists.qt-project.org/listinfo/qbs

Reply via email to