From 73e64a98c696f516aed204cf79bacce7d2179030 Mon Sep 17 00:00:00 2001 From: Assam Boudjelthia Date: Sun, 25 Oct 2020 21:30:22 +0200 Subject: Android: fix android java and templates targets with -developer-build On Windows with -developer-build java and templates files are not copied properly, this makes sure to copy the files and dir for both targets. Also, avoid creating a a deployment-settings.json file by adding "TEMPLATE = aux". Fixes: QTBUG-87627 Pick-to: 5.15 Change-Id: Iae269c3180a7b6d904fdba2e69fb3f815bbb1211 Reviewed-by: Andy Shaw Reviewed-by: Alexandru Croitor --- src/android/java/java.pro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/android/java/java.pro') diff --git a/src/android/java/java.pro b/src/android/java/java.pro index 7f0dfa8a1bc..e8967a82db4 100644 --- a/src/android/java/java.pro +++ b/src/android/java/java.pro @@ -1,5 +1,7 @@ -CONFIG += single_arch +TEMPLATE = aux +TARGET = dummy +CONFIG += single_arch CONFIG -= qt android_install javaresources.files = \ @@ -11,6 +13,8 @@ javaresources.path = $$[QT_INSTALL_PREFIX]/src/android/java INSTALLS += javaresources !prefix_build:!equals(OUT_PWD, $$PWD) { + COPIES += javaresources + RETURN = $$escape_expand(\\n\\t) equals(QMAKE_HOST.os, Windows) { RETURN = $$escape_expand(\\r\\n\\t) -- cgit v1.2.3