[QBS] Module property in a rule
olivier musse
olivier.musse at sfr.fr
Fri May 23 13:53:32 CEST 2014
Hi,
Once again an issue while trying to get properties in a Rule, I found
the following is not working and ask myself if it is a bug or not.
This should really nice if it works then enabling to add to any product
a set of properties and use them in associated rules.
See my example below
Module{
property string ModuleProp:"defaultValue"
Rule{
prepare:
{
var a=product.ProductProp; //WORKING : can access
product.ProductProp
var b=product.ModuleProp; // NOT WORKING :
}
}
}
Product{
property string Product Prop
Depend{name:"MyModule"}
}
BS
Olivier
More information about the Qbs
mailing list