Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Reading Database table from Qt and diplay in a table of QML
KushalAusula last edited by
Is there any way to read DB table data(postegresql or sqlite) from QT and send data to QML so that I could display the data in the DBGrid(Table of QML)????
Even If there are any links that could help, Please let me know.
If you are using SQLite then you can access it directly from QML too. Check "qtquick-localstorage":http://qt-project.org/doc/qt-5/qtquick-localstorage-qmlmodule.html
And if Postgres then you will have to coonect db from c++ and expose your related functions to QML.