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
For Gerrit Dashboard: QTBUG-83365 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
348731,6 | Fix QSaveFile and QTemporaryFile issues with windows network shares | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: NEW | +1 | 0 |
343275,18 | Fix QSaveFile and QTemporaryFile issues with windows network shares | dev | qt/qtbase | Status: MERGED | +2 | 0 |
348726,6 | Fix QSaveFile and QTemporaryFile issues with windows network shares | 6.1 | qt/qtbase | Status: MERGED | +2 | 0 |
348727,5 | Fix QSaveFile and QTemporaryFile issues with windows network shares | 6.0 | qt/qtbase | Status: MERGED | +2 | 0 |