aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2018-04-18 16:32:58 +0200
committerKai Koehne <kai.koehne@qt.io>2018-04-20 06:46:15 +0000
commit61b6180c02202921245569c1a1278be6942d6ec6 (patch)
treebcb1b8660f7202ef4c1bd8b1a6cdf0b4d406c4f8
parent551cb80abf98db21a8fa1a3616f2b44d33a6288e (diff)
Document latest QtQuick.Test 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: Ie2fe1d172898bd0d51f0841c078abd1f8ab8d744 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rw-r--r--src/imports/testlib/testlib.pro2
-rw-r--r--src/quick/doc/src/qmltypereference.qdoc4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/imports/testlib/testlib.pro b/src/imports/testlib/testlib.pro
index 6e8a6aee72..acbe82e5e6 100644
--- a/src/imports/testlib/testlib.pro
+++ b/src/imports/testlib/testlib.pro
@@ -1,7 +1,7 @@
CXX_MODULE = qml
TARGET = qmltestplugin
TARGETPATH = QtTest
-IMPORT_VERSION = 1.0
+IMPORT_VERSION = 1.$$QT_MINOR_VERSION
QT += qml quick qmltest qmltest-private qml-private core-private testlib
diff --git a/src/quick/doc/src/qmltypereference.qdoc b/src/quick/doc/src/qmltypereference.qdoc
index 391b8b5f26..80b9241f36 100644
--- a/src/quick/doc/src/qmltypereference.qdoc
+++ b/src/quick/doc/src/qmltypereference.qdoc
@@ -883,14 +883,14 @@ console.log(c + " " + d); // false true
*/
/*!
-\qmlmodule QtTest 1.1
+\qmlmodule QtTest 1.11
\title Qt Quick Test QML Types
\brief This module provides QML types to unit test your QML application
\ingroup qmlmodules
You can import this module using the following statement:
\code
-import QtTest 1.1
+import QtTest 1.11
\endcode
For more information about how to use these types, see