Unsolved How to loop through QQmlListProperty?
-
I'm confused by the QQmlListProperty class. How does one loop through each property in the list? I think it somehow uses QQmlListProperty::count(), but could someone please provide a simple example?
Thanks
Tom -
@Tom-asso
You mean from C++ side? If so see the QQmlListReference class
From the QML side, use it like any other list/array type.