From a869f448e9904e6a339aaeebb47cca3f20a257e6 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Tue, 27 Jun 2023 11:45:11 +0200 Subject: [PATCH] Evaluate the QT_ANDROID_DEPLOYMENT_SETTINGS_FILE property Make sure that QT_ANDROID_DEPLOYMENT_SETTINGS_FILE is expanded correctly and completely when using it in custom commands. Task-number: QTBUG-114888 Change-Id: I87c9cb052ea6afedd129fec0a1c415ad38e8eeb5 Reviewed-by: Assam Boudjelthia (cherry picked from commit 0be35f3a7bb97bacf7ddd47729f2f97dcf750b80) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/Qt6AndroidMacros.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/corelib/Qt6AndroidMacros.cmake b/src/corelib/Qt6AndroidMacros.cmake index 903611f0481..7d8312f5b8a 100644 --- a/src/corelib/Qt6AndroidMacros.cmake +++ b/src/corelib/Qt6AndroidMacros.cmake @@ -367,7 +367,11 @@ function(qt6_android_add_apk_target target) endif() # Use genex to get path to the deployment settings, the above check only to confirm that # qt6_android_add_apk_target is called on an android executable target. - set(deployment_file "$") + string(JOIN "" deployment_file + "$" + ">" + ) # Make global apk and aab targets depend on the current apk target. if(TARGET aab)