[Qt-qml] 'property variant' mutilates / can't store a javascript object with js prototype?

Ville M. Vainio vivainio at gmail.com
Thu Oct 28 08:49:46 CEST 2010


On Tue, Oct 26, 2010 at 5:33 PM, Kent Hansen <kent.hansen at nokia.com> wrote:

> There currently isn't any way to create a JavaScript object reference
> property on an item (e.g. no "property Object foo").

Ok. That sounds like a logical feature to have, though.

> (i.e. analogous to having an engine property on the component). If you
> make redditengine.js a library (by using ".pragma library"), the
> component instances will share a single engine.

Thanks, this works fine now.

-- 
Ville M. Vainio @@ Forum Nokia



More information about the Qt-qml mailing list