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 <thiago.macieira@intel.com>
bb10
Alexey Edelev 2024-04-12 16:12:38 +02:00
parent fad8d71262
commit 36a1fb7256
1 changed files with 2 additions and 2 deletions

View File

@ -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}