[QBS] Get property from parent project
olivier musse
olivier.musse at sfr.fr
Thu May 22 13:26:43 CEST 2014
Hi,
I have a project with subproject and so on.
When in a product or a subproject, how to access parent project
properties. Sometimes it seems to be "project.MyProperty", sometimes
"MyProperty"
Is there any documentation to clarify this point?
As an example
Project {
property string myprop1 : "val1"
product{
property string myproductprop
Depends{name:project.myprop1} //in this case seems the
project prefix is needed
myproductprop:myprop1 //in this case with project prefix it
does not work and seems to works without it
}
}
Many thanks in advance for help.
Regards
Olivier
More information about the Qbs
mailing list