[Qbs] Accessing properties from a parent project
Christian Kandeler
christian.kandeler at qt.io
Thu Jul 10 11:08:53 CEST 2025
On 7/10/25 11:03 AM, Jochen Becher via Qbs wrote:
> 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.
What do you mean by "accepted"?
> How can I access a property of the same name from a parent project?
In your example, the properties do not have the same name.
Christian
More information about the Qbs
mailing list