summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2022-06-03 14:16:05 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-07-12 17:07:56 +0000
commitbde89d8cb073f7dfc2c84b9a2f7dc355b7d9878e (patch)
tree37561abcfe119c09e613ea89bf2464aeb434b02b /src/tools
parente51a6755a7188c56d85d3cfb2ae730aec93e12c1 (diff)
downloadqtbase-bde89d8cb073f7dfc2c84b9a2f7dc355b7d9878e.tar.gz
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. Fixes: QTBUG-103805 Change-Id: I6947ca303edb36fc359bd5d07c1cbd88098905fb Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit c0a5f17679b2803c6a6bf0b01367fd53c9c83a48) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/bootstrap/CMakeLists.txt1
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