aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2018-04-18 16:02:25 +0200
committerKai Koehne <kai.koehne@qt.io>2018-04-20 06:45:39 +0000
commite7e08161693e8841e72a64dba60890b2c7c0a2c5 (patch)
tree54fbb2fc23bc31f5756ad40d432ebfeb5405511a /src
parent017bd28f5f3854d0f4ad62a80630f08387bca9f6 (diff)
Document latest QtQuick.Window 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: I5ba3c5947262e7fab5df3bfcc05d2282234dafcc Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/imports/window/plugin.cpp4
-rw-r--r--src/imports/window/window.pro2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/imports/window/plugin.cpp b/src/imports/window/plugin.cpp
index d8d21ce27e..907eecb060 100644
--- a/src/imports/window/plugin.cpp
+++ b/src/imports/window/plugin.cpp
@@ -51,7 +51,7 @@ static void initResources()
QT_BEGIN_NAMESPACE
/*!
- \qmlmodule QtQuick.Window 2.2
+ \qmlmodule QtQuick.Window 2.11
\title Qt Quick Window QML Types
\ingroup qmlmodules
\brief Provides QML types for window management
@@ -61,7 +61,7 @@ QT_BEGIN_NAMESPACE
To use the types in this module, import the module with the following line:
\code
- import QtQuick.Window 2.2
+ import QtQuick.Window 2.11
\endcode
*/
diff --git a/src/imports/window/window.pro b/src/imports/window/window.pro
index a938e0eeef..77bd9518e9 100644
--- a/src/imports/window/window.pro
+++ b/src/imports/window/window.pro
@@ -1,7 +1,7 @@
CXX_MODULE = qml
TARGET = windowplugin
TARGETPATH = QtQuick/Window.2
-IMPORT_VERSION = 2.2
+IMPORT_VERSION = 2.$$QT_MINOR_VERSION
SOURCES += \
plugin.cpp