aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2017-07-02 10:24:36 +0200
committerDavid Faure <faure@kde.org>2017-07-08 12:52:07 +0200
commitbcf2bcf39b44cd1eecbcce5b99124b950eb39cfc (patch)
tree794dd9d99b3c179202784e8394d4a2fa79226859
parente5f0b1e72d58d2b5547ece6c8b3c0c51fc1f089f (diff)
downloadextra-cmake-modules-bcf2bcf39b44cd1eecbcce5b99124b950eb39cfc.tar.gz
extra-cmake-modules-bcf2bcf39b44cd1eecbcce5b99124b950eb39cfc.tar.bz2
Android: scan for qml files in the source dir, not in the install dir.
Summary: When the QML files are all bundled into a .qrc file, they don't get copied to the install dir, which would lead to qmlimportscanner not picking up the dependencies (e.g. QtQuick Controls) for android packaging. Looking at commit 1b0496d, I wonder if maybe we should be able to specify two paths to look into? But qmlimportscanner doesn't support that, does it? Test Plan: using this toolchain for a basic QtQuick2 app created from a QtCreator template, with Qt Quick Controls support, and QML files in a Qt resource. Reviewers: apol, mart Reviewed By: apol Subscribers: #build_system, #frameworks Tags: #frameworks, #build_system Differential Revision: https://phabricator.kde.org/D6466
-rw-r--r--toolchain/deployment-file.json.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/deployment-file.json.in b/toolchain/deployment-file.json.in
index c33f1120..fe5f3fb6 100644
--- a/toolchain/deployment-file.json.in
+++ b/toolchain/deployment-file.json.in
@@ -8,7 +8,7 @@
"ndk-host": "@_HOST@",
"target-architecture": "@ANDROID_ABI@",
"application-binary": "@EXECUTABLE_DESTINATION_PATH@",
- "qml-root-path": "@CMAKE_INSTALL_PREFIX@",
+ "qml-root-path": "@CMAKE_SOURCE_DIRECTORY@",
##EXTRALIBS##
##EXTRAPLUGINS##
"android-package-source-directory": "@ANDROID_APK_DIR@",