Connection QML with SQLLite
-
Hi people!
I am start development in Android with QML and I need know how make to connect with database?
Thanks.
-
"Qt Quick Local Storage QML Types":http://qt-project.org/doc/qt-5.1/qtquick/qmlmodule-qtquick-localstorage2-qtquick-localstorage-2.html
-
Ok, thanks for your reply, but I need to connect to a base outside the device (WEB) so I need to know how to connect and access. The application will access the cloud to exchange information.
-
Hi,
Could you describe more precisely your "sqlite database outside the device" ?
-
Shure.
I'll explain in detail what I do, so you can even give me some ideas, because I'm lost:
I have a software that saves and query the records in the cloud (web host) and the other users access this data in the same way, because everything is in the cloud.
I want to create a module for Android for him to consult this register, for now only "Select * from ...".
It's simple when it comes to desktop and web, but as I'm now starting to develop for Android I'm confused.
Get it? If you can not answer questions that ask.
Thank you for your attention.
Hugs.
-
Then you could have a look at "Enginio":https://engin.io/ it seems that it does what you need
-
Ok, I'll take a look.
If anyone has any more suggestions I'm listening.
Thank you.
-
Hi people!
I thought the way, so share with you:
http://qt-project.org/wiki/How_to_use_a_QSqlQueryModel_in_QML
Hugs for all