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

Denis Shienkov denis.shienkov at gmail.com
Sat Oct 7 18:51:06 CEST 2017


Hi all.

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.

Is it possible to get a path to source directories of products from the 
inputsFromDependencies property? As I understands, this dependencies 
contains an artifacts of products... So, how to get the product's source 
directory from own artifact? Is it possible?

BR,
Denis



More information about the Qbs mailing list