Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.7.0
-
None
-
9a5e3e1f4 (dev), ec349e0c0 (6.8), 4654253b8 (6.7)
Description
QTemporaryFile::fileName() does not have a path anymore for template "XXXXXX.sig".
The following code
QTemporaryFile sig;
sig.setFileTemplate("XXXXXX.sig");
QVERIFY(sig.open());
qDebug() << sig.fileName();
prints something like /builds/pim/libkleo/_build/autotests/aCSxKd.sig with Qt <= 6.6.2, but it prints something like FFQAET.sig with Qt 6.7.0. This breaks a unit test in libkleo which hasn't been changed in ages.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-124653 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
573864,4 | QTemporaryFile: de-duplicate docs wrt. the file name relative/absolute | dev | qt/qtbase | Status: MERGED | +2 | 0 |
574430,3 | QTemporaryFile: de-duplicate docs wrt. the file name relative/absolute | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
576465,2 | QTemporaryFile: de-duplicate docs wrt. the file name relative/absolute | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |