[QBS] Get property from parent project

Christian Kandeler christian.kandeler at digia.com
Thu May 22 16:43:30 CEST 2014


On 05/22/2014 04:35 PM, olivier musse wrote:
> Christian,
>
> The bug I was talking about (project prefix) is in a Rule artifact.
> I do something like (separated in multiple files but the same hierarchy)
> Project{
>       property string myProp:"val"
> Project{
> Product{
> Rule{
>           inputs:['myinputs']
>           Artifact {
>                   fileName:project.myProp
>           }
> }
> }
> This seems to work on my side but should not according to your answer to
> Tim.

Why? There is no property declared in the Rule item in your example.


Christian



More information about the Qbs mailing list