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

                                          
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to