PDA

View Full Version : Right path for storing application data?


cnavarro
11-16-2009, 05:18 PM
Hi all

I'm writting an application ( just a concept test ;) ) for freemantle using Qt, and I was wondering which is the right path in the machine for writing application data.
I do not know the partition scheme and also I was wondering what happens when the application is uninstalled.

I was thinking in something like $HOME/.myapp/data but do not know if this is the reight approach

Thank you in advance

Carlos

mikemorrison
11-16-2009, 06:27 PM
You will probably want to follow the XDG Base Directory Specification:

http://standards.freedesktop.org/basedir-spec/latest/index.html

danielwilms
11-17-2009, 03:17 AM
Hi,

here you find as well some good general guide about packaging in Qt (http://wiki.maemo.org/Packaging_a_Qt_application), and some more information (http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Packaging%2C_Deploying_and_Distributing/Installing_under_opt_and_MyDocs) about storing application data and its' limitations on the N900.

Cheers Daniel

cnavarro
11-17-2009, 04:43 PM
Just what I was looking for. Thanks!