On 02-Jun-14 15:10, Denis Shienkov wrote:
> are available any way to get a product property, similar with a module
> property way?
>
> e.g. by analogy with Module:
>
> var moduleProperty = product.moduleProperties(moduleName, propertyName) ;
>
> but only for Product:
>
> var productProperty = product.poductProperties(productName, propertyName) ;
>
> It is possible?
If the product you want to query is a dependency of the current product
you can traverse product.dependencies:
for (var i in product.dependencies) {
var dep = product.dependencies[i];
print(dep.name);
}
With product.dependencies you can access the dependency tree of the
current product.
BR,
Joerg
_______________________________________________
QBS mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs