Details
-
Bug
-
Resolution: Done
-
P2: Important
-
0.3
-
None
-
66068863ca647c5216b0fb7ee8ce933ef6aea077
Description
Product properties that have the same name as module properties cannot be used on the right hand side of module property bindings:
Product { name: "foo" Depends { name: "cpp" } cpp.defines: [name.toUpperCase()] // will be ["CPP"], not ["FOO"] }
To work around this issue, fully qualify the property:
cpp.defines: [product.name.toUpperCase()]
Attachments
For Gerrit Dashboard: QBS-252 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
53265,2 | add autotest for the scope of overridden module properties | master | qbs/qbs | Status: MERGED | +2 | 0 |
53270,2 | fix scope of own properties of module instances | master | qbs/qbs | Status: MERGED | +2 | 0 |