[Qbs] Accessing properties from a parent project

Björn Schäpers qt-maillist at hazardy.de
Thu Jul 10 12:38:23 CEST 2025


Hi, I can second that.

Did not find the time to post it here, because I also don't have a small 
example. I have basically the same setup, but split over multiple files (which 
are referenced from the top level project).
For me it is:

readonly property stringList onEmbedded: parent.onEmbedded

The interesting part is, I have that in 2 files, while one brings the message 
"refers to itself", the other one does not.

Am 10.07.2025 um 11:40 schrieb Jochen Becher via Qbs:
> I am currently also trying to get it reproduced in a small example but
> cannot yet. Unfortunately, the real code is far too complex to discuss
> it here. I will try to get it reduced to something small enough.
>
> Am Donnerstag, dem 10.07.2025 um 11:27 +0200 schrieb Christian Kandeler
> via Qbs:
>> On 7/10/25 11:18 AM, Jochen Becher wrote:
>>> Error message is "Property 'mySetting' refers to itself".
>> I cannot reproduce that. Are you sure you get that with the pasted
>> project (minus the typo)?
>>
>>
>> Christian
>>
>> _______________________________________________
>> Qbs mailing list
>> Qbs at qt-project.org
>> https://lists.qt-project.org/listinfo/qbs
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> https://lists.qt-project.org/listinfo/qbs



More information about the Qbs mailing list