We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad5ad6c commit c4143f9Copy full SHA for c4143f9
src/drivers/QtTestDriver.cpp
@@ -15,7 +15,15 @@ namespace internal {
15
class TemporaryFileWrapper {
16
public:
17
static TemporaryFileWrapper create() {
18
- QTemporaryFile tempFile{};
+ QTemporaryFile tempFile(
19
+ QString("%1/%2_%3")
20
+ .arg(
21
+ QDir::tempPath(),
22
+ qApp->applicationName().isEmpty() ? "qt_temp"
23
+ : qApp->applicationName()
24
+ )
25
+ .arg(qApp->applicationPid())
26
+ );
27
28
if (!tempFile.open()) {
29
return {};
0 commit comments