[SailfishDevel] Hardcoded Path
ziobilly94 at gmail.com
ziobilly94 at gmail.com
Fri Mar 13 18:30:16 UTC 2015
Thanks, very helpful
Il gio mar 12 14:42:19 2015 GMT+0100, Kaj-Michael Lang scrive:
> On to, 2015-03-12 at 14:33 +0100, Antonio Mancini wrote:
> > I want to use the XDG Base Directory Specification but i don't know
> > how to use it.
>
> Use should use Qts QStandardPaths to get various locations that you can
> use for your files.
> See http://doc.qt.digia.com/qt-5.2/qstandardpaths.html for details
>
> $XDG_DATA_HOME refers to an environment variable, you use getenv() to
> get the contents of that.
>
> --
> Kaj-Michael Lang <milang at tal.org>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
>
More information about the Devel
mailing list