[SailfishDevel] xdg folder stuff: howto? more info

Wim de Vries wsvries at xs4all.nl
Wed Jan 8 08:55:33 UTC 2014

I am adding some more info to my question.
I am using QStandardPaths.
Harbour is refusing my app, stating that I should use $XDG_CONFIG_HOME
Still, this var is not set. The only ones are:
"XDG_SESSION_ID" value: "c5"
"XDG_RUNTIME_DIR" value: "/run/user/100000"
I need to add data files during installation, and the user should be 
able to add/remove data files from his PC via USB.

On 01/07/2014 07:29 PM, Wim de Vries wrote:
> Hi,
> Can someone please explain how the XDG folders work.
> These env vars seem not be set when I try to read the values with 
> QProcessEnvironment.
> So how can I read/write to those folders (C++)?
> And how to access them from QML?
> The documention/FAQ only gives a very general spec.
> I must be missing sth.
> Thanks.
> _______________________________________________
> SailfishOS.org Devel mailing list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140108/616739ec/attachment.html>

More information about the Devel mailing list