Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[solved] where do openDatabaseSync() store the sqlite file ?
brouits last edited by
I use the local storage sql api in QML but i don't see any file created by openDatabaseSync().
So i can't check my database with the sqlite cmd-line tool to debug my application. It seems i missed something. Any hint please ?
midnite last edited by
Thanatos last edited by
author of thread could mark this as [solved]
kwhitefoot last edited by
There seems to be some confusion about where the files are created and some people seem to think that it is important to avoid name collisions, or at least they give that impression.
However, at least on the N9, it doesn't actually matter what you call it unless you have more than one used by the same application because the files are stored in:
These two variables can be set in main:
Can anyone give some clear rules about this? The documentation doesn't make it clear what name needs to be used and some projects targetting the N9 use very generic names like "SettingsDB" (Buienradar).