[solved] manage sqlite database
Page |
1 |
Hi! I just wanna ask if there’s something like a SQLite manager included in the SDK? If not, can someone point me to one? Thanks!
16 replies
No Qt has no sqlite manager, but if you google you will find a lot of them, even cross platform ones. Here is a link [sqlite.com] with lot’s of details. If you let us know what you consider important and what OS you want it for, then maybe we could share what we experienced with one of them.
Are you looking for a database browser like this [sqlitebrowser.sourceforge.net]
I found sqlitebrowser a little bit buggy sometimes.
Other tools you can use are Sqliteadmin [sqliteadmin.orbmu2k.de] or Sqliteman [sqliteman.com]
Thanks for the reply Rahul. You’ve been a great help.
EDIT: I tried using setDatabaseName() as you suggested though I just receive an error.
Result of expression ‘db.setDatabaseName’ [undefined] is not a function.
Using the SQL Local Storage example [doc.qt.nokia.com] as reference, where should I call the function?
I am not really familiar with QML though, i suppose , you can still follow how we connect in a normal Qt application. :) ie,for example, in your main,
- int main(int argc, char *argv[])
- {
- db.setDatabaseName("db_name");
Am sorry, :( dont know much about QtQuick :(
And don’t forget to add sql module in *.pro file.
You must log in to post a reply. Not a member yet? Register here!




