summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@theqtcompany.com>2016-01-14 16:47:20 +0200
committerMiikka Heikkinen <miikka.heikkinen@theqtcompany.com>2016-01-15 11:50:10 +0000
commit18b5962194a7d4b32362957ed2fc3cb6f5c383ba (patch)
tree2b84c94c805304c7ef6ab27b2a180c29ccf9e4ba /src
parent28419befaf0cd138d3b77d25a5a66537c776634e (diff)
Fix version numbers
QML API version was only updated to what it actually is, it doesn't need to follow the module version. Change-Id: I5c26da72b03a1e6858327a8a08f933998991c39e Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/charts/doc/qtcharts.qdocconf10
-rw-r--r--src/charts/doc/src/qtcharts.qdoc2
-rw-r--r--src/charts/qchartglobal.h4
3 files changed, 8 insertions, 8 deletions
diff --git a/src/charts/doc/qtcharts.qdocconf b/src/charts/doc/qtcharts.qdocconf
index c88007b2..8345bf6c 100644
--- a/src/charts/doc/qtcharts.qdocconf
+++ b/src/charts/doc/qtcharts.qdocconf
@@ -6,7 +6,7 @@ include($QT_INSTALL_DOCS/global/qt-html-templates-offline.qdocconf)
project = QtCharts
description = Qt Charts Reference Documentation
-version = 2.1.0
+version = $QT_VERSION
sourcedirs += .. \
../../chartsqml2
@@ -32,14 +32,14 @@ Cpp.ignoretokens = Q_INVOKABLE \
qhp.projects = QtCharts
qhp.QtCharts.file = qtcharts.qhp
-qhp.QtCharts.namespace = com.digia.qtcharts.210
+qhp.QtCharts.namespace = com.digia.qtcharts.$QT_VERSION_TAG
qhp.QtCharts.virtualFolder = qtcharts
qhp.QtCharts.indexTitle = Qt Charts
qhp.QtCharts.indexRoot =
-qhp.QtCharts.filterAttributes = qtcharts 2.1.0 qtrefdoc
-qhp.QtCharts.customFilters.Qt.name = QtCharts 2.1.0
-qhp.QtCharts.customFilters.Qt.filterAttributes = qtcharts 2.1.0
+qhp.QtCharts.filterAttributes = qtcharts $QT_VERSION qtrefdoc
+qhp.QtCharts.customFilters.Qt.name = QtCharts $QT_VERSION
+qhp.QtCharts.customFilters.Qt.filterAttributes = qtcharts $QT_VERSION
qhp.QtCharts.subprojects = gettingstarted classes types examples
diff --git a/src/charts/doc/src/qtcharts.qdoc b/src/charts/doc/src/qtcharts.qdoc
index cf386d22..a0c0cf54 100644
--- a/src/charts/doc/src/qtcharts.qdoc
+++ b/src/charts/doc/src/qtcharts.qdoc
@@ -50,7 +50,7 @@
*/
/*!
- \qmlmodule QtCharts 2.0
+ \qmlmodule QtCharts 2.1
\title Qt Charts QML Types
\ingroup qmlmodules
diff --git a/src/charts/qchartglobal.h b/src/charts/qchartglobal.h
index 823b9ecd..1c4a6686 100644
--- a/src/charts/qchartglobal.h
+++ b/src/charts/qchartglobal.h
@@ -32,11 +32,11 @@
#include <QtCore/QtGlobal>
-#define QT_CHARTS_VERSION_STR "2.1.0"
+#define QT_CHARTS_VERSION_STR QT_VERSION_STR
/*
QT_CHARTS_VERSION is (major << 16) + (minor << 8) + patch.
*/
-#define QT_CHARTS_VERSION 0x020100
+#define QT_CHARTS_VERSION QT_VERSION
/*
can be used like #if (QT_CHARTS_VERSION >= QT_CHARTS_VERSION_CHECK(1, 1, 0))
*/