SQLite doesn't have a notion of server thus you can't connect to a remote SQLite database unless you can access the database file directly (via a network share or remote filesystem).
SQLite doesn't have a notion of server thus you can't connect to a remote SQLite database unless you can access the database file directly (via a network share or remote filesystem).
Thank you very much wysota for this reply. Actually I'm new to DB and from my understanding...
In document it is mention taht QSqlDatabase represents a connection to a database. and in QSqlDatabase v can pass QSQLITE as an argument to interact an sqlite database QSqlDatabase::QSqlDatabase ( const QString & type ) http://doc.qt.nokia.com/latest/qsqldatabase.html#QSqlDatabase-2 .
Cannt we use like mentioned in the Qt help manual?
SQLite is a local database engine operating directly on files. If you don't have access to the file, you can't access the database. With or without QSqlDatabase.
Bookmarks