[SailfishDevel] xdg folder stuff: howto? more info

Jonni Rainisto jonni.rainisto at jolla.com
Wed Jan 8 09:22:39 UTC 2014


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-bounces at lists.sailfishos.org [devel-bounces at lists.sailfishos.org] on behalf of Wim de Vries [wsvries at xs4all.nl]
Sent: Wednesday, January 08, 2014 10:55 AM
To: devel at 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


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


More information about the Devel mailing list