aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2018-04-18 16:10:17 +0200
committerKai Koehne <kai.koehne@qt.io>2018-04-20 06:45:42 +0000
commit8ec21eecb27441a67198629c01ad9d1cf87924cf (patch)
tree95cf9f269dab931da035efb0aabb56a79dbd98dd /src/imports
parente7e08161693e8841e72a64dba60890b2c7c0a2c5 (diff)
Document latest QtQuick.XmlListModule import version to be 2.11
Since commit 214fbaa57b73296a0 the latest minor version of the import is automatically the Qt minor version, so let's also document this. Change-Id: I4ed5d3e08d718ebb6cf15f97806c18b8aa514e1c Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/xmllistmodel/qqmlxmllistmodel.cpp4
-rw-r--r--src/imports/xmllistmodel/xmllistmodel.pro2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/imports/xmllistmodel/qqmlxmllistmodel.cpp b/src/imports/xmllistmodel/qqmlxmllistmodel.cpp
index d14810a01b..a08b59a598 100644
--- a/src/imports/xmllistmodel/qqmlxmllistmodel.cpp
+++ b/src/imports/xmllistmodel/qqmlxmllistmodel.cpp
@@ -72,7 +72,7 @@ typedef QPair<int, int> QQuickXmlListRange;
#define XMLLISTMODEL_CLEAR_ID 0
/*!
- \qmlmodule QtQuick.XmlListModel 2
+ \qmlmodule QtQuick.XmlListModel 2.11
\title Qt Quick XmlListModel QML Types
\ingroup qmlmodules
\brief Provides QML types for creating models from XML data
@@ -82,7 +82,7 @@ typedef QPair<int, int> QQuickXmlListRange;
To use the types in this module, import the module with the following line:
\code
- import QtQuick.XmlListModel 2.0
+ import QtQuick.XmlListModel 2.11
\endcode
*/
diff --git a/src/imports/xmllistmodel/xmllistmodel.pro b/src/imports/xmllistmodel/xmllistmodel.pro
index 2308f26d1b..b5f559fc93 100644
--- a/src/imports/xmllistmodel/xmllistmodel.pro
+++ b/src/imports/xmllistmodel/xmllistmodel.pro
@@ -1,7 +1,7 @@
CXX_MODULE = qml
TARGET = qmlxmllistmodelplugin
TARGETPATH = QtQuick/XmlListModel
-IMPORT_VERSION = 2.0
+IMPORT_VERSION = 2.$$QT_MINOR_VERSION
QT = network xmlpatterns qml-private core-private