IMHO applications that use QStandardPaths should be always accepted, there must 
be something wrong with the process or rules if that is the cause for 
rejection. If QStandardPaths points to wrong directory then its a bug which 
should be fixed.

re, Jonni
________________________________
From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of Wim de Vries [wsvr...@xs4all.nl]
Sent: Wednesday, January 08, 2014 10:55 AM
To: devel@lists.sailfishos.org
Subject: Re: [SailfishDevel] xdg folder stuff: howto? more info

Hi,
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"
and
"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.
Thanks.




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


_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to