diff --git a/src/corelib/io/qtemporaryfile.cpp b/src/corelib/io/qtemporaryfile.cpp index 67b737981b..adf353eb30 100644 --- a/src/corelib/io/qtemporaryfile.cpp +++ b/src/corelib/io/qtemporaryfile.cpp @@ -330,7 +330,7 @@ bool QTemporaryFileEngine::open(QIODevice::OpenMode openMode) return true; } - d->fileEntry = QFileSystemEntry(template_); + d->fileEntry = QFileSystemEntry(template_, QFileSystemEntry::FromInternalPath()); return false; #endif }