Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to create dynamic ListModels from C++
muzo last edited by
I have to create some message models (ListModels that keeps message infomation) at begining of the my app. I can define it. However i need to create more models at run time dynamically (on demand) and i have to bind them to some views which are dynamically created. How can i do it ? Which approach is suitable for me?
Gennon last edited by
Maybe this could be of help: http://qt-project.org/wiki/How_to_use_a_QSqlQueryModel_in_QML