[SailfishDevel] xdg folder stuff: howto? more info

Martin Kampas martin.kampas at tieto.com
Wed Jan 8 09:06:13 UTC 2014


Hi,

[1] gives me [2] as the very first search result :)

BR,
Martin

[1] https://www.google.com/search?q=xdg_config_home
[2] http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

On Wednesday, January 08, 2014 09:55:33 AM Wim de Vries wrote:
> 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/5f49b6a9/attachment.html>


More information about the Devel mailing list