Solved QML & QObject's Dynamic Properties
-
Hi;
I am trying to access QObject's dynamic properties from QML. Object is ok in QML but cannot reach any dynamic properties ? (e.g. in QML, { myObject.myProperty; }. It is always null.
Thnx.
-
I solved the problem by converting to QObject to QJSValue and then using the function setProperty of QJSValue.
Thnkx for all...
-
The better way is using QQmlProperty.