How to show data from database in a ListView ?
Can anybody explain how to show data from database in QML list view?
I've created a database with sqlite but I'm unable to show data in a list view.
I don't want to use C++...
please help me...
I do not believe it is possible without writing some custom c++ code. "QML Model Types":http://qt-project.org/doc/qt-5.0/qtquick/qtquick-qmltypereference.html#model-view-types-and-data-storage-and-access. Have a look at this "QSqlQueryModel in QML":http://qt-project.org/wiki/How_to_use_a_QSqlQueryModel_in_QML.
Further research shows that this might be possible.