[QBS] Referencing Rule properties

Dennis Tomas den.t at gmx.de
Sat Jul 30 08:50:22 CEST 2016


Am 30.07.2016 um 03:26 schrieb Ch'Gans:
> On 30 July 2016 at 07:08, Dennis Tomas<den.t at gmx.de>  wrote:
>> Am 29.07.2016 um 21:05 schrieb Dennis Tomas:
>>> Rule {
>>>      property string fileName: "resources"
>> Sorry, should be baseName of course. Doesn't work either...
> Have you tried outer.baseName?
>
> My 2 cents.
outer doesn't refer to the parent item, but to a module property 
assigned there. It's available in module property assignments only.

>>>      multiplex: true
>>>      Artifact {
>>>          filePath: baseName + ".qrc" // ReferenceError
>>>          fileTags: ["qrc"]
>>>      }
>>>      prepare: {
>>> [...]
>>>      }
>>> }
>> _______________________________________________
>> QBS mailing list
>> QBS at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/qbs


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20160730/c43f1375/attachment.html>


More information about the Qbs mailing list