[SailfishDevel] Application specific write-access folder
Mark Johnson
markydon1501 at hotmail.com
Sat Nov 9 23:02:51 UTC 2013
Hi all,
I'm trying to write a small number of files out to the file system that contain application-specific information.
For some reason when I try to open a file with QIODevice::ReadWrite access in the following directory it fails every time (the file should be instantiated as a result of the QFile::open() call):
QString mainFileName = QStandardPaths::writableLocation(QStandardPaths::DataLocation) + "/" + KUserProfilesFilename;
Which results in the following filename:
/home/nemo/.local/share/imagewiz/userprofiles.txt
I'm not terribly well versed in Sailfish's file structure, what's the approved way of querying an application's write access enabled area?
Thanks,Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20131109/a7a4f58b/attachment.html>
More information about the Devel
mailing list