summaryrefslogtreecommitdiff
path: root/examples/examples.pro
diff options
context:
space:
mode:
authorCorentin Jabot <corentinjabot@gmail.com>2012-07-28 15:26:30 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-02 07:15:15 +0200
commitf5c58c6a3d77aeee1f8d3bc152aa3731efefac0e (patch)
treefdceac5c81023f4466c45993c927b682cbf656bf /examples/examples.pro
parent903acd1b191ea7db67be8300ea1ed34b4b23216c (diff)
downloadqtlocation-f5c58c6a3d77aeee1f8d3bc152aa3731efefac0e.tar.gz
Only build qml components/examples if qtdeclarative is present
Change-Id: I4ceac7bb7027b14f67175c66af142b0b6a9f7ad6 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'examples/examples.pro')
-rw-r--r--examples/examples.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index bd467b29..babe1b68 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -1,3 +1,4 @@
TEMPLATE = subdirs
-SUBDIRS += declarative weatherinfo
+
+!isEmpty(QT.quick.name): SUBDIRS += declarative weatherinfo
!contains(QT_CONFIG, no-widgets): SUBDIRS += logfilepositionsource