summaryrefslogtreecommitdiffstats
path: root/examples/sensors/grue
diff options
context:
space:
mode:
authorCorentin Jabot <corentinjabot@gmail.com>2012-07-30 10:13:55 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-08 02:50:41 +0200
commitde70333227709d289a96718009aa7851db5f5df5 (patch)
treecfffca6e6f34a64ad2598f70b08859949612a075 /examples/sensors/grue
parent7101b0accc5fabf45fa9dce5d74b5172183320a4 (diff)
Only build qml components/examples if qtdeclarative is present
Change-Id: I31e1873e9ef243c86c07b0a39edc9d1d61820944 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
Diffstat (limited to 'examples/sensors/grue')
-rw-r--r--examples/sensors/grue/grue.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/sensors/grue/grue.pro b/examples/sensors/grue/grue.pro
index de917bf7..cc6d11cd 100644
--- a/examples/sensors/grue/grue.pro
+++ b/examples/sensors/grue/grue.pro
@@ -1,7 +1,8 @@
TEMPLATE = subdirs
SUBDIRS += lib plugin console_app
-SUBDIRS += import qml.pro
+
+!isEmpty(QT.quick.name): SUBDIRS += import qml.pro
plugin.depends = lib
import.depends = lib