Sort of related, will we be able to explore C++ objects as you would javascript
objects?
I remember running into a use case where I was using a XML model in QML and
could only get the XmlNodes. I could not navigate the XML hierarchy in code. I
ran into a black hole when I tried to get the XML child nodes of a XmlNode.
________________________________
From: Ville M. Vainio <[email protected]>
To: [email protected]
Cc: [email protected]; [email protected]
Sent: Tuesday, June 7, 2011 7:34 AM
Subject: Re: [Qt-qml] Storing javascript references in QML properties, in Qt5
Thank you. Do you have a pointer to the details of the fix? Or will it
just be about "property variant" storing the reference in expected
fashion?
On Tue, Jun 7, 2011 at 10:50 AM, <[email protected]> wrote:
> Hi,
>
> This will be fixed in QtQuick 2.
>
> Cheers,
>
> Aaron
>
> On 07/06/2011, at 5:32 PM, ext Ville M. Vainio wrote:
>
>> Re-sending to qt-qml mailing list (perhaps it should be used instead
>> of Qt5 feedback for QML language discussion?
>>
>> On Sun, Jun 5, 2011 at 2:25 PM, Ville M. Vainio <[email protected]> wrote:
>>> Currently, it's not possible to store references to javascript objects
>>> (Array, Object, functions...) in QML properties (yes, "propery
>>> variant" can't hold a js reference). I believe the rationale for this
>>> is that you can't use javascript references in property bindings.
>>>
>>> Will there be a fix for this in Qt Quick 2?
>>>
>> _______________________________________________
>> Qt-qml mailing list
>> [email protected]
>> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>
>
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml