summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@qt.io>2017-03-08 15:38:29 +0100
committerPaul Olav Tvete <paul.tvete@qt.io>2017-03-13 11:39:26 +0000
commitd7d8bb10b6d4413376624a85760df857096955cb (patch)
tree06bdc9830cee335b67bc5b3af35c9bf31485446b
parent83a3deda6d9cca88e74041858e31262e832da582 (diff)
Add dependency on features.graphicsviewv5.9.0-beta1
QtCharts depend on QGraphicsView, so we should skip the whole module if the graphicsview feature is not available. Change-Id: I710e9fb0bc0030c0268de3f682de4762a167fda3 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
-rw-r--r--qtcharts.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/qtcharts.pro b/qtcharts.pro
index 122264e6..fc2928f8 100644
--- a/qtcharts.pro
+++ b/qtcharts.pro
@@ -1,5 +1,10 @@
requires(qtHaveModule(widgets))
+qtHaveModule(widgets) {
+ QT_FOR_CONFIG += widgets
+ requires(qtConfig(graphicsview))
+}
+
load(qt_parts)
OTHER_FILES += README dist/*