<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css"></style>
</head>
<body ocsi="0" fpstyle="1" bgcolor="#FFFFFF">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><br>
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.<br>
<br>
re, Jonni<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF678283"><font face="Tahoma" size="2" color="#000000"><b>From:</b> devel-bounces@lists.sailfishos.org [devel-bounces@lists.sailfishos.org] on behalf of Wim de Vries [wsvries@xs4all.nl]<br>
<b>Sent:</b> Wednesday, January 08, 2014 10:55 AM<br>
<b>To:</b> devel@lists.sailfishos.org<br>
<b>Subject:</b> Re: [SailfishDevel] xdg folder stuff: howto? more info<br>
</font><br>
</div>
<div></div>
<div>
<div class="moz-cite-prefix">Hi,<br>
I am adding some more info to my question.<br>
I am using QStandardPaths.<br>
Harbour is refusing my app, stating that I should use <span><span class="ng-scope">$XDG_CONFIG_HOME<br>
Still, this var is not set. The only ones are:<br>
</span></span>"XDG_SESSION_ID" value: "c5"<br>
and<br>
"XDG_RUNTIME_DIR" value: "/run/user/100000"<br>
<style type="text/css">
<!--
p, li
        {white-space:pre-wrap}
-->
BODY {direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;}P {margin-top:0;margin-bottom:0;}</style>I need to add data files during installation, and the user should be able to add/remove
 data files from his PC via USB.<br>
Thanks.<br>
<br>
<br>
<br>
<br>
<span></span>On 01/07/2014 07:29 PM, Wim de Vries wrote:<br>
</div>
<blockquote type="cite">Hi, <br>
Can someone please explain how the XDG folders work. <br>
These env vars seem not be set when I try to read the values with QProcessEnvironment.
<br>
So how can I read/write to those folders (C++)? <br>
And how to access them from QML? <br>
The documention/FAQ only gives a very general spec. <br>
I must be missing sth. <br>
Thanks. <br>
<br>
_______________________________________________ <br>
SailfishOS.org Devel mailing list <br>
<br>
</blockquote>
<br>
</div>
</div>
</div>
</body>
</html>