Details
Description
BaseProduct.qbs
import qbs 1.0 Product { id: baseId property bool myBool: false Group { qbs.install: { console.error("Test:" + baseId.myBool + " " + myBool) return baseId.myBool } fileTagsFilter: ["qml"] } }
SubProduct.qbs
import "BaseProduct.qbs" as BaseProduct BaseProduct { myBool: true }
The error message shows "Test:false true" instead of "Test:true true". It's a bit confusing since baseId.myBool and myBool should be accessing the same property. Why do they have two different values?
Attachments
Issue Links
- relates to
-
QBS-1262 IDs are not inherited which causes asserts when referenced by other items
- Closed