summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTitta Heikkala <titta.heikkala@theqtcompany.com>2014-10-24 09:14:36 +0300
committerTitta Heikkala <titta.heikkala@theqtcompany.com>2014-10-24 09:23:28 +0300
commitc26fb372333deeef9fbf695b95138b11e90faf54 (patch)
treecde4d120d416e0fe87d77ebe40088d1fddf22353
parentc6cc3c566c94ff35590f48939fda92fc4879c319 (diff)
Fix Charts build when quick module is not build
The QML side of Charts should not be built when Qt quick module is not present. Change-Id: Id48fe3c50f365ad195c90da6364d27afd97b90e2 Task-number: QTRD-3273 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
-rw-r--r--src/src.pro6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/src.pro b/src/src.pro
index d25e0e6f..507c9f56 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -1,4 +1,6 @@
TEMPLATE = subdirs
CONFIG += ordered
-SUBDIRS += charts \
- chartsqml2
+SUBDIRS += charts
+qtHaveModule(quick) {
+ SUBDIRS += chartsqml2
+}