You are looking for exposing the model written in C++ and exposing to QML, you can refer the examples give in your installation in following directory.
examples\declarative\modelviews\stringlistmodel
Also if you would like to expose list from C++ and QML, check for
Q_PROPERTY(QQmlListProperty<Person> guests READ guests)
↧