mirror of https://github.com/qt/qtbase.git
Ensure <target>_copy_apk_dependencies is called for QtC build
QtC doesn't use the make_[apk|aab|aar] targets, it runs the deployment manually. The top-level android build target for QtC is the <target>_prepare_apk_dir target. Make it depending on <target>_copy_apk_dependencies target, to ensure that all abi-specific artifacts are copied before running the deployment procedure, from either QtC or command line. Amends44149f9d8b
Fixes: QTBUG-133810 Fixes: QTBUG-131862 Pick-to: 6.8 Change-Id: I4f3630798658a793b0c96a99fc4644ec1dd0504b Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit7a6b3e1a9c
) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
af7ca1d159
commit
09e4baf5eb
|
@ -762,11 +762,8 @@ function(qt6_android_add_apk_target target)
|
|||
)
|
||||
endif()
|
||||
else()
|
||||
if(TARGET ${target}_copy_apk_dependencies)
|
||||
add_dependencies(${target}_make_apk ${target}_copy_apk_dependencies)
|
||||
add_dependencies(${target}_make_aab ${target}_copy_apk_dependencies)
|
||||
add_dependencies(${target}_make_aar ${target}_copy_apk_dependencies)
|
||||
endif()
|
||||
add_dependencies(${target}_prepare_apk_dir
|
||||
${target}_copy_apk_dependencies)
|
||||
endif()
|
||||
|
||||
set_property(GLOBAL APPEND PROPERTY _qt_apk_targets ${target})
|
||||
|
|
Loading…
Reference in New Issue