[Interest] QML QList<int> as modelData

Damian Ivanov damianatorrpm at gmail.com
Mon Jan 27 10:21:49 CET 2014


Hi,

I have QML c++ plugin which I import inside the .qml files using
import MyPlugin 1.0
In the plugin I have a QList<int> which I want to expose to .qml for a
ListView(and other views) as the modelData. What is the right way to
do it?

Thanks in advance.

Damian



More information about the Interest mailing list