From 36a1fb7256fb4c6857d913ebb2beb4096fde3bad Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Fri, 12 Apr 2024 16:12:38 +0200 Subject: [PATCH] Expose the qversiontagging.h header file unconditionally The header file is not guarded properly in qglobal.h. This installs it unconditionally in systems where version tagging is not supported. Task-number: QTBUG-124346 Change-Id: I130b7d016e28a7a03d8929bc17fad50c80648f49 Reviewed-by: Thiago Macieira --- src/corelib/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/corelib/CMakeLists.txt b/src/corelib/CMakeLists.txt index 8c2f62ef03..a785a31ee3 100644 --- a/src/corelib/CMakeLists.txt +++ b/src/corelib/CMakeLists.txt @@ -92,6 +92,7 @@ qt_internal_add_module(Core global/q23utility.h global/qxpfunctional.h global/qxptype_traits.h + global/qversiontagging.h ipc/qsharedmemory.cpp ipc/qsharedmemory.h ipc/qsharedmemory_p.h ipc/qsystemsemaphore.cpp ipc/qsystemsemaphore.h ipc/qsystemsemaphore_p.h ipc/qtipccommon.cpp ipc/qtipccommon.h ipc/qtipccommon_p.h @@ -453,8 +454,7 @@ endif() # Add version tagging source files if the linker has version script support # or the platform supports it. set(core_version_tagging_files - global/qversiontagging.cpp - global/qversiontagging.h) + global/qversiontagging.cpp) qt_internal_extend_target(Core CONDITION TEST_ld_version_script OR APPLE OR WIN32 SOURCES ${core_version_tagging_files}