[QBS] How do I enumerate the properties of a qbs object?

Jake Petroules jake.petroules at petroules.com
Fri Sep 19 20:14:00 CEST 2014


On 2014-09-19, at 01:34 PM, Карелин Павел <hkarel at yandex.ru> wrote:

> I would like to investigate properties and values of QBS objects. 
> But usual javascript a design of enumeration didn't work:
> for (var p in project) {
>     // Here never we get...
> }
> 
> How is possible to enumerate properties and objects?
> 
> 
> -- 
> С уважением, Карелин Павел. 
> 
> 
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs

What is your use case for doing this?
-- 
Jake Petroules - jake.petroules at petroules.com
Chief Technology Officer - Petroules Corporation


More information about the Qbs mailing list