PDA

View Full Version : Where is located the SQLITE Database file used within QtQuick 2.0 Applications ?



slimittn
24th April 2013, 17:12
Hi,

i'm using the QML Local Storage Database in my QML (QtQuick 2.0) application and i need to know where is the database file for debug purpose and export import purposes. So where can i found it ?

Thank you.

slimittn
25th April 2013, 14:55
Thank you i have found it on Ubuntu it this two repertories :

( Qt Quick Application )

/home/slimittn/.local/share/[ProjectName]/QML/OfflineStorage/Databases/33704e7720b9d2247ed1258cad464a99.sqlite


and

( Qt Quick UI using qmlscene )

/home/slimittn/.local/share/Qt Project/QtQmlViewer/QML/OfflineStorage/Databases/33704e7720b9d2247ed1258cad464a99.sqlite


Thank you.

The next question is : How to change the name and the emplacement of the SQLite database ? (http://www.qtcentre.org/threads/54310-Where-is-located-the-SQLITE-Database-file-used-within-QtQuick-2-0-Applications)