QML only connect to mySQL
QML and Qt Quick
4
Posts
2
Posters
5.1k
Views
1
Watching
-
Yes, you can use some JavaScript code to connect to a local db, see the SQL Local Storage Example here: http://doc.qt.nokia.com/4.7-snapshot/declarative-sqllocalstorage-hello-qml.html
Alex
-
I see, didn't get that from your question at first.
The linked example only works with a local database, in your case you probably can write your own QML item in C++ and reuse that every time you need QML SQL access. If this doesn't meet your needs I'm out of ideas, sorry.