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 <joerg.bornemann@qt.io>
This commit is contained in:
parent
fc556e3571
commit
9349e463d4
@ -107,7 +107,7 @@ function(qt6_android_generate_deployment_settings target)
|
||||
set(config_suffix "$<$<NOT:$<CONFIG:${first_config_type}>>:-$<CONFIG>>")
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user