CMake: add --apk to androiddeployqt to copy resulting apk to build dir

Task-number: QTQAINFRA-3867
Change-Id: If036aa88d8e9db3ddc9d27811ccfafa1152a9f2a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Assam Boudjelthia 2020-11-05 15:14:15 +02:00 committed by Simo Fält
parent 52ce0c177e
commit 42f8afc2dc

View File

@ -274,6 +274,7 @@ function(qt6_android_add_apk_target target)
COMMAND ${deployment_tool}
--input ${deployment_file}
--output ${apk_dir}
--apk ${apk_dir}/${target}.apk
COMMENT "Creating APK for ${target}"
)