Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.0 Beta
-
None
-
Tested in iOS 8.1.1, Qt 5.4.0 Beta
Description
QStandardPaths::writableLocation(QStandardPaths::PicturesLocation);
return a non empty path on iOS, but that is not writable, nor can one create the path.
some test code below to past into hello world:
QString _savePath = QStandardPaths::writableLocation(QStandardPaths::PicturesLocation);
QDir dir(_savePath);
if (!dir.exists()) {
if (!dir.mkpath(_savePath))
}
QFile f(_savePath+"/test.tmp");
if (f.open(QIODevice::WriteOnly))