summaryrefslogtreecommitdiffstats
path: root/src/network/android/jar
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-07-03 15:05:42 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-07-09 11:56:31 +0200
commitb1f8ca8032bd0500f356c55c335937f7fb89d3f5 (patch)
treec88267b551c0dc16a9f8699c20422fea784e2b5e /src/network/android/jar
parentd5e8a5d9cbcebec966833155728be3f2d293aafa (diff)
CMake: Fix various issues with the Android build
Certain resources and compiled jar files have to be copied into the non-prefix build dir location. They were previously only installed, which doesn't do anything in a non-prefix build. Change pro2cmake to generate code that places the compiled java jars into QT_BUILD_DIR, so that non-prefix builds work. Place the module dependencies xml files into lib folder in non-prefix builds. Don't special case the output and install location of the Android QPA plugin. Task-number: QTBUG-85399 Change-Id: I4ac9d3929ea8ecc95ec99a77e621ad2121b68832 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/network/android/jar')
-rw-r--r--src/network/android/jar/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/android/jar/CMakeLists.txt b/src/network/android/jar/CMakeLists.txt
index 5b7c2d012b..48f3d35e6f 100644
--- a/src/network/android/jar/CMakeLists.txt
+++ b/src/network/android/jar/CMakeLists.txt
@@ -7,6 +7,7 @@ set(java_sources
add_jar(QtAndroidNetwork
INCLUDE_JARS ${QT_ANDROID_JAR}
SOURCES ${java_sources}
+ OUTPUT_DIR "${QT_BUILD_DIR}/jar"
)
install_jar(QtAndroidNetwork