From c0a5f17679b2803c6a6bf0b01367fd53c9c83a48 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Fri, 3 Jun 2022 14:16:05 +0200 Subject: Fix building with "-sanitize fuzzer-no-link" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Fabian Kosmale --- src/tools/bootstrap/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tools/bootstrap') 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 -- cgit v1.2.3