From 9349e463d4d6c58d3fb3e3512e104b07a5082188 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Mon, 25 Sep 2023 15:19:37 +0200 Subject: [PATCH] Use the actual target name as base name for android deployment settings QtC is unable to find the deployment settigns if target uses custom OUTPUT_NAME. There is no particular reason for using the target OUTPUT_NAME property as the base name for android deployment settings. [ChangeLog][General][Android] The target name is used as a base name of android deployment settings, but not the OUTPUT_NAME property. Pick-to: 6.2 6.5 6.6 Fixes: QTBUG-117509 Change-Id: I1ac3b0ad305dc55289bef39c6e946bcf684e772f Reviewed-by: Joerg Bornemann --- src/corelib/Qt6AndroidMacros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/Qt6AndroidMacros.cmake b/src/corelib/Qt6AndroidMacros.cmake index e500144decf..d94c9e5e462 100644 --- a/src/corelib/Qt6AndroidMacros.cmake +++ b/src/corelib/Qt6AndroidMacros.cmake @@ -107,7 +107,7 @@ function(qt6_android_generate_deployment_settings target) set(config_suffix "$<$>:-$>") endif() set(deploy_file - "${target_binary_dir}/android-${target_output_name}-deployment-settings${config_suffix}.json") + "${target_binary_dir}/android-${target}-deployment-settings${config_suffix}.json") set(file_contents "{\n") # content begin