Using QList in QML
-
Hi all,
How can i use the QList items in QML.
Please help.
Ansif -
use "QQmlListProperty":http://qt-project.org/doc/qt-5/qqmllistproperty.html instead of QList.
Or use Qt C++ model to contain your QList items. -
[quote author="Vincent007" date="1394117348"]use "QQmlListProperty":http://qt-project.org/doc/qt-5/qqmllistproperty.html instead of QList.
Or use Qt C++ model to contain your QList items.[/quote]Thank you.