maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Right path for storing application data? (https://talk.maemo.org/showthread.php?t=34598)

cnavarro 2009-11-16 22:18

Right path for storing application data?
 
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 2009-11-16 23:27

Re: Right path for storing application data?
 
You will probably want to follow the XDG Base Directory Specification:

http://standards.freedesktop.org/bas...est/index.html

danielwilms 2009-11-17 08:17

Re: Right path for storing application data?
 
Hi,

here you find as well some good general guide about packaging in Qt, and some more information about storing application data and its' limitations on the N900.

Cheers Daniel

cnavarro 2009-11-17 21:43

Re: Right path for storing application data?
 
Just what I was looking for. Thanks!


All times are GMT. The time now is 00:50.

vBulletin® Version 3.8.8