Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.14.1, 5.15.3
-
-
21
-
ec9e85656339dbc9e6918a1369c981cece7bc97d (qt/qtbase/dev) 9d0be7b1a920cd9d7ae949bc3dc14774a439b3d0 (qt/qtbase/6.0) ad12c3c40b07079d875f48027eef0786acef7de0 (qt/qtbase/6.1)
Description
std::string CreateUniqueFile(const std::string& nametemplate) { QTemporaryFile tmpfile(QString::fromStdString(nametemplate)); if (tmpfile.open()) { tmpfile.setAutoRemove(false); return tmpfile.fileName().toStdString(); return "";
This function returns something different in 5.13.2 than in 5.14.1 when creating a QTemporaryFile on a windows network share. I have a share path "//share/dir/. 5.13.2 returned here a path "//share/dir/<file>", while 5.14.1 returned a path "UNC/share/dir/<file>"
Attachments
Issue Links
- is required for
-
QTBUG-75129 Rationalize handling of UNC paths on Windows
- Closed
- relates to
-
QTBUG-74291 QTemporaryFile does not work for Windows network paths
- Closed