[solved] How to show data from database in QML listview?
-
If you solve something by yourself please provide an explanation of how you did it or a link to a relevant resource you found.
There is nothing more frustrating when searching for a problem only to find a "solved it myself" type post with no details of how the problem was solved.
-
Export your data with a QAbstractListItem interface. It helps to better model your data according to rows and assign roles for fields.
http://doc.qt.nokia.com/4.7-snapshot/qdeclarativemodels.html#qabstractitemmodel