[Qbs] Accessing properties from a parent project
Jochen Becher
jochen_becher at gmx.de
Thu Jul 10 11:03:22 CEST 2025
Hi,
I have the following code:
Project {
property bool mySetting: true
Project {
property bool mySettings: parent.mySetting ?
parent.mySetting : false
}
}
In the past this worked but with qbs 3.0.0 is is no longer accepted.
How can I access a property of the same name from a parent project?
Note: This code is artificial, so please don't discuss if that example
makes sense. The real code does, believe me.
Regards, Jochen
More information about the Qbs
mailing list