Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
ListView with QSqlTableModel
Infinity last edited by A Former User
I would like to use a QSqlTableModel as a model for a ListView in QML. I used this tutorial to try how to use C++ with QML. This worked very well. Now I would like to store and read the date in a MySql database. How does a QSqlTableModel class have to look like that I can use it in the ListView in QML? Are there any examples around which address this issue?
Did you already saw the Using C++ Models with Qt Quick Views chapter in Qt's documentation ?
Infinity last edited by
This post is deleted!