I do not believe it is possible without writing some custom c++ code. QML Model Types [qt-project.org]. Have a look at this QSqlQueryModel in QML [qt-project.org].
↧