How do I deploy an existing sqlite database with my qt application on Symbian device?
I have one SQLite database, I want to deploy it with my App on symbina device.
But I don’t know how to do?
This solution works as long as you deploy to C:\ drive on Symbian.
But when deploying on E:\ (aka mass storage), this won’t work :
- sqldeployment.sources = db.sqlite
- sqldeployment.path = .
- DEPLOYMENT += sqldeployment
The file db.sqlite exists in E:\Private\appID\ folder but do not get loaded by QSqlDatabase
With C:\Private\appID\ it works fine.
Any clue ?
Ok I found a solution :
This way it works both with C:\ and E:\ deployment.
I can’t see why the other way did not work however.