> Custom properties are collected and made accessible in rules for the
> Product, Project and Modules items.
> For all other items, only the built-in properties are retrieved and acted
> upon according to their documented semantics.
>
>
Right. What's the reasoning why custom properties aren't generally allowed?
I would like an error message from qbs if I create a custom property
somewhere that cannot be used, at least. I'm quite used to writing regular
Qt Quick qml and this is then unexpected.
> > My use-case here is that in another Product I plan to do this:
> > import "myrule.qbs" as MyRule
> > ...
> > MyRule { myProperty: "1" }
> > MyRule { myProperty: "2" }
> > MyRule { myProperty: "3" }
> > MyRule { myProperty: "etc" }
>
> Yes, I can see how that could be useful (see also the TODO item in
> CppModule.qbs). You might want to create a task in our bugtracker.
>
I'll do that. Thanks,
Ola
_______________________________________________
Qbs mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs