summaryrefslogtreecommitdiff
path: root/src/plugins/android/androiddebugsupport.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2017-09-27 16:10:13 +0200
committerUlf Hermann <ulf.hermann@qt.io>2017-09-29 08:26:33 +0000
commitdefcb6a55a6561fd80ee9377c06984f3cd450c07 (patch)
treeed2deb04c6a221c5aacd7bf15744fac8609d091d /src/plugins/android/androiddebugsupport.cpp
parentbb16ae7323c21a31a0f21546ed35d5ea9278d59a (diff)
downloadqt-creator-defcb6a55a6561fd80ee9377c06984f3cd450c07.tar.gz
QtSupport: Add a method to retrieve the QML path
We check that qmake property in many different places. Change-Id: Ifd5efe4ad2831385493bd3afe8538929578e8fb4 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/android/androiddebugsupport.cpp')
-rw-r--r--src/plugins/android/androiddebugsupport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/android/androiddebugsupport.cpp b/src/plugins/android/androiddebugsupport.cpp
index e7ada2d28b..dd6ab07ddb 100644
--- a/src/plugins/android/androiddebugsupport.cpp
+++ b/src/plugins/android/androiddebugsupport.cpp
@@ -138,7 +138,7 @@ void AndroidDebugSupport::start()
setQmlServer(m_runner->qmlServer());
//TODO: Not sure if these are the right paths.
if (qtVersion)
- addSearchDirectory(qtVersion->qmakeProperty("QT_INSTALL_QML"));
+ addSearchDirectory(qtVersion->qmlPath().toString());
}
// FIXME: Move signal to base class and generalize handling.