aboutsummaryrefslogtreecommitdiff
path: root/toolchain/deployment-file.json.in
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2017-03-16 03:31:12 +0100
committerAleix Pol <aleixpol@kde.org>2017-03-16 15:11:55 +0100
commitc5d92deff24578f8258a724ca8a143c2d5f390a1 (patch)
tree394bf9d7d9701e2b673a2b81682712ed5b8ed587 /toolchain/deployment-file.json.in
parent7dc466a729c9972b941978db873e11540543303f (diff)
downloadextra-cmake-modules-c5d92deff24578f8258a724ca8a143c2d5f390a1.tar.gz
extra-cmake-modules-c5d92deff24578f8258a724ca8a143c2d5f390a1.tar.bz2
Specify qml-root-path as the share directory in the prefix
Summary: This way androiddeployqt will scan the imports. Otherwise it wouldn't pull qtquickcontrols2 for me Reviewers: #build_system, #frameworks, mart Reviewed By: mart Tags: #frameworks, #build_system Differential Revision: https://phabricator.kde.org/D5067
Diffstat (limited to 'toolchain/deployment-file.json.in')
-rw-r--r--toolchain/deployment-file.json.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/deployment-file.json.in b/toolchain/deployment-file.json.in
index e691e431..b7d28f51 100644
--- a/toolchain/deployment-file.json.in
+++ b/toolchain/deployment-file.json.in
@@ -8,6 +8,7 @@
"ndk-host": "@_HOST@",
"target-architecture": "@ANDROID_ABI@",
"application-binary": "@EXECUTABLE_DESTINATION_PATH@",
+ "qml-root-path": "@CMAKE_INSTALL_PREFIX@/share",
##EXTRALIBS##
##EXTRAPLUGINS##
"android-package-source-directory": "@ANDROID_APK_DIR@",