summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2021-02-09 12:46:11 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-02-10 14:46:43 +0000
commitf8d209c0dacd4b8a7a403c6d66220b263f9be74f (patch)
treea3eae8ceb2300ac9e876c2068afff855df36a8cb /cmake
parentdca5a2ca39d45ec7ac1472f438328b3b941bcad1 (diff)
Fix completely wrong init_class and jar_bundle_native values
This prevented androiddeployqt from properly deploying libraries which specify init class via the ":" delimiter. Change-Id: Ib9cfa7edc864d7d540577df22284ceb9714a2511 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> Reviewed-by: Andreas Buhr <andreas.buhr@qt.io> (cherry picked from commit 8cceb04232001e51276f1588d9e67f2c696fbe91) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtAndroidHelpers.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/QtAndroidHelpers.cmake b/cmake/QtAndroidHelpers.cmake
index 7e84c983a9..1add6e883c 100644
--- a/cmake/QtAndroidHelpers.cmake
+++ b/cmake/QtAndroidHelpers.cmake
@@ -135,11 +135,11 @@ function(qt_android_dependencies target)
# Bundled Jar Dependencies
if(arg_BUNDLED_JAR_DEPENDENCIES)
foreach(jar_bundle IN LISTS arg_BUNDLED_JAR_DEPENDENCIES)
- section(${jar_bundle} ":" bundle_file init_calss)
+ section(${jar_bundle} ":" bundle_file init_class)
if (init_class)
set(init_class "initClass=\"${init_class}\"")
endif()
- file(TO_NATIVE_PATH ${jar_bundle} jar_bundle_native)
+ file(TO_NATIVE_PATH ${bundle_file} jar_bundle_native)
string(APPEND file_contents "<jar bundling=\"1\" file=\"${jar_bundle_native}\" ${init_class} />\n")
endforeach()
endif()