Re: [SailfishDevel] XDG paths in QT

2015-05-11 Thread Luciano Montanaro
The behavior, in Linux, in general is for applications to install default setting files in a "global" XDG path, e.g /usr/share/config/yourappnamerc and to write it to your home directory on first change (e.g /home/nemo/.config/yourappnamerc). That said, using QStandardPaths should make things work

Re: [SailfishDevel] XDG paths in QT

2015-05-10 Thread Andrey Kozhevnikov
Hello, you should use QStandardPaths. DataLocation is correct, it using applicationName and organizationName from you QGuiApplication instance. 11.05.2015 01:14, Nicolas Cisco пишет: Hi, i have some questions about what are the correct config and data paths for an application. The harbour faq

[SailfishDevel] XDG paths in QT

2015-05-10 Thread Nicolas Cisco
Hi, i have some questions about what are the correct config and data paths for an application. The harbour faq [ https://harbour.jolla.com/faq#2.4.0 ] says that for these paths a subfolder during run time named inside a folder defined by the XDG Base Directory Specification should be used. My ques