summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMaurice Kalinowski <maurice.kalinowski@digia.com>2014-06-13 13:07:42 +0200
committerMaurice Kalinowski <maurice.kalinowski@digia.com>2014-06-16 10:43:31 +0300
commitee35574f0d6694ab300a6cf6a6b2f22eaddc8c4e (patch)
tree3d9efd3cff0e1d7af76beb64422c1cb32b1153b1 /examples
parent23f5eaaadbea9c88eb88e3b6fc0bd854a7e37d21 (diff)
Fix compilation on platforms without QtQuick1
WinRT is one of those, but you might want to configure Qt in that way also on other platforms. Change-Id: I40e5d0b8bc0c347f058d5f30d64ddbf55653f904 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by: Titta Heikkala <titta.heikkala@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/examples.pro7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index f6a63bb5..9985e63b 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -22,8 +22,6 @@ SUBDIRS += \
boxplotchart \
legend \
barmodelmapper \
- qmlboxplot \
- qmlpiechart \
lineandbar \
horizontalbarchart \
horizontalstackedbarchart \
@@ -36,6 +34,11 @@ SUBDIRS += \
logvalueaxis \
polarchart
+!contains(QT_VERSION, ^5\\..*\\..*$)|qtHaveModule(declarative) {
+ SUBDIRS += qmlboxplot \
+ qmlpiechart
+}
+
!linux-arm*: {
SUBDIRS += \
datetimeaxis