How to show data from database in a ListView ?
QML and Qt Quick
3
Posts
2
Posters
2.4k
Views
1
Watching
-
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.
Take a look at "this.":http://qt-project.org/doc/qt-5.0/qtquick/qmlmodule-qtquick-localstorage2-qtquick-localstorage-2.html