How to change the name and the emplacement of the SQLite database ?
is there a way to change the name and the emplacement of the SQLite database ?
As exemple my database name is : 33704e7720b9d2247ed1258cad464a99.sqlite and is placed in this folder under linux : /home/slimittn/.local/share/Qt Project/QtQmlViewer/QML/OfflineStorage/Databases/.
When opening the database connection you can give the database the path you want by passing the appropriate path to "QSqlDatabase::setDatabaseName.":http://doc-snapshot.qt-project.org/4.8/qsqldatabase.html#setDatabaseName
I need to do that with QML and not C++.