CMake: Use versionfull functions within our public API
This ensures that the public functions still work even if QT_NO_CREATE_VERSIONLESS_FUNCTIONS is true. Task-number: QTBUG-86827 Change-Id: I5654eb17ffe47a1b8e9d397e0477f5b82a762ae1 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
parent
04e0306520
commit
f7d3ff1fe6
@ -437,7 +437,7 @@ function(qt6_add_executable target)
|
||||
set_property(TARGET "${target}" PROPERTY CXX_VISIBILITY_PRESET default)
|
||||
set_property(TARGET "${target}" PROPERTY OBJC_VISIBILITY_PRESET default)
|
||||
set_property(TARGET "${target}" PROPERTY OBJCXX_VISIBILITY_PRESET default)
|
||||
qt_android_apply_arch_suffix("${target}")
|
||||
qt6_android_apply_arch_suffix("${target}")
|
||||
else()
|
||||
add_executable("${target}" WIN32 MACOSX_BUNDLE ${ARGN})
|
||||
endif()
|
||||
@ -1265,7 +1265,7 @@ function(qt6_add_plugin target)
|
||||
set_property(TARGET "${target}" PROPERTY OUTPUT_NAME "${output_name}")
|
||||
|
||||
if (ANDROID)
|
||||
qt_android_apply_arch_suffix("${target}")
|
||||
qt6_android_apply_arch_suffix("${target}")
|
||||
set_target_properties(${target}
|
||||
PROPERTIES
|
||||
LIBRARY_OUTPUT_NAME "plugins_${arg_TYPE}_${output_name}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user