[solved] How to show data from database in QML listview?
i am working on showing data from database to QML listview , please provide any help. thank you
solved: i figure it out myself :)
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.