hello everyone
I am new to qt.
I am developing an android app using qt plz tell me how to connect sqlite database using qt quick(qml).
hello everyone
I am new to qt.
I am developing an android app using qt plz tell me how to connect sqlite database using qt quick(qml).
Last edited by Yogesh soni; 14th September 2015 at 06:08.
On the C++ side of your application you create a model that exports the database data to QML.
For example wrapping a QSqlQueryModel in a list model implementation which maps roles to columns, or deriving from one of the QSql models and mapping towards the base class.
Cheers,
_
Bookmarks