[solved] where do openDatabaseSync() store the sqlite file ?
-
-
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:
/home/user/.local/share/data/${organization-name}/${app-name}/QML/OfflineStorage/Databases/
These two variables can be set in main:
QApplication::setApplicationName(app-name); QApplication::setOrganizationName(organization-name);
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).