[Qt-qml] Accessing dynamic properties
denis.dzyubenko at nokia.com
denis.dzyubenko at nokia.com
Tue Sep 14 17:16:58 CEST 2010
Hi,
Is there a way to access dynamic properties from QML? I have a c++ object that does _not_ have a Q_PROPERTY(int foo READ foo), and in c++ I set the value using the setProperty("foo", 42) function call - i.e. a dynamic property.
Is there a way to access it from QML? I assume that by default declarative doesn't bother to access then for performance reasons, but is there a way to enforce it and ask for the value of such property?
Denis.
More information about the Qt-qml
mailing list