Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.4.1, 5.5.0
-
None
-
Qt 5.4.1 (git), WinRT 8.1, Visual Studio 2013
-
-
c5fd30b
Description
The file picked from the save file picker cannot be written to (both QFile::copy and QFile::write fail):
QString fileName = QFileDialog::getSaveFileName(0, "Save to", "", "doc (*.doc)"); QFile targetFile(fileName); if (targetFile.open(QFile:WriteOnly)) { targetFile.write(QString("Some string").toUtf8()); // returns -1 targetFile.close(); }
The corresponding QWinRTFileEngine::write and QWinRTFileEngine::copy functions are not called.