qt_android_apply_arch_suffix
配置目标二进制文件的名称,使其包含特定架构的后缀。
该命令在Qt6
软件包的Core
组件中定义,可以像这样加载:
find_package(Qt6 REQUIRED COMPONENTS Core)
该命令在 Qt 6.0 中引入。
警告: 自 Qt 6.5 起,该命令已被弃用。请使用qt_add_executable或qt_add_library代替。
注意: 只有在使用 Android 平台时才应调用此命令。
简介
qt_android_apply_arch_suffix(target)
如果禁用了无版本命令,请使用qt6_android_apply_arch_suffix()
代替。它支持与此命令相同的参数集。
说明
CMakeSUFFIX
目标属性控制用于目标构建二进制文件名的后缀。此命令可方便地将该属性设置为特定架构的值。这在将不同 Android 架构的多个构建文件安装到同一安装位置时非常有用,因为它可以防止不同架构的库相互覆盖。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.