diff options
author | Robert Loehning <robert.loehning@qt.io> | 2022-06-03 14:16:05 +0200 |
---|---|---|
committer | Jörg Bornemann <joerg.bornemann@qt.io> | 2022-07-12 16:32:38 +0000 |
commit | c0a5f17679b2803c6a6bf0b01367fd53c9c83a48 (patch) | |
tree | ffbd06efb12332eaa5058a2e804996ee29843a70 /src/tools | |
parent | 0dadb951b5249d13e78b009759dab6a6ec9dc537 (diff) |
Fix building with "-sanitize fuzzer-no-link"
This partially reverts commit c25a5b4e1fc9e74f1f3ab1001db4fbae267d7831.
We need qtemporaryfile.cpp in the bootstrap library, because qfile.cpp
uses QTemporaryFileName - even if QTemporaryFile has been disabled.
Re-adding qtemporaryfile.cpp does not increase the bootstrap library's
size significantly, because since c25a5b4e1f we have
#define QT_NO_TEMPORARYFILE
in qconfig-bootstrapped.h, and that disables compilation of
QTemporaryFile but leaves QTemporaryFileName intact.
Pick-to: 6.4
Fixes: QTBUG-103805
Change-Id: I6947ca303edb36fc359bd5d07c1cbd88098905fb
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/bootstrap/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/bootstrap/CMakeLists.txt b/src/tools/bootstrap/CMakeLists.txt index 0d920624af..35e62b6764 100644 --- a/src/tools/bootstrap/CMakeLists.txt +++ b/src/tools/bootstrap/CMakeLists.txt @@ -37,6 +37,7 @@ qt_internal_extend_target(Bootstrap ../../corelib/io/qresource.cpp ../../corelib/io/qsavefile.cpp ../../corelib/io/qstandardpaths.cpp + ../../corelib/io/qtemporaryfile.cpp ../../corelib/kernel/qcoreapplication.cpp ../../corelib/kernel/qcoreglobaldata.cpp ../../corelib/kernel/qiterable.cpp |