Hi I need a bit of help with saving my database. When I do: QSqlDatabase db; db.setDatabaseName("/usr/share/<harbour-myapp>/data/data.sqlite") db.open() ...
I get this error: "QSqlQuery::exec: database not open" thus the file isn't created at all. However if I change name to "data.sqlite" it works fine, but saves it to /home/nemo/ Could someone tell me what I need to do in order to save the file under the correct path? Thanks in advance Kris
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org