[Qt-qml] QML properties as JS objects defined "in situ"
mathias.malmqvist at nokia.com
mathias.malmqvist at nokia.com
Wed Mar 24 20:18:19 CET 2010
Hi,
Is it (or should it be) possible to define a QML property as a JavaScript object,
defined "in situ"?
I.e. I would expect something like this to work
Item {
property var myPoint: {x: 100, y: 200 };
}
but it doesn't.
Is it a limitation of the same type I reported here:
http://bugreports.qt.nokia.com/browse/QTBUG-9341
Cheers
Mathias
------------------------------------------------------------
Mathias Malmqvist
CWRT Prototype Lead
S SE UX Prototyping GB
10 Great Pulteney Street, London, W1F 9NB, UK
Got no reply? Try giving me a call:
Mobile: +44 (0)77 6522 2738
http://www.nokia.com
More information about the Qt-qml
mailing list