[Qbs] How to get a product's source directory from the artifact from inputsFromDependencies

Christian Kandeler Christian.Kandeler at qt.io
Tue Oct 10 14:20:54 CEST 2017


Hi Denis,

> I need to create e.g the 'zip' archive of output binaries of my project,
> where my project contains some of application's products.
> 
> I have looked on qbs\src\packages\archive\archive.qbs example, where are
> used the windeployqt utility. It is fine, but I need to use the --qmldir
> argument for the windeployqt utility (as my products are qml
> applications). As I can see, we can get only the install-root paths from
> the inputsFromDependencies: ["installable"] property.. but seems, it is
> not enough for me, because I need to get by some way the full paths of
> source directories of products of input artifacts.

Why? In particular, why do you care about the product directory, rather than the one of the actual file?


Christian


More information about the Qbs mailing list