From e7e08161693e8841e72a64dba60890b2c7c0a2c5 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Wed, 18 Apr 2018 16:02:25 +0200 Subject: 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 --- src/imports/window/plugin.cpp | 4 ++-- src/imports/window/window.pro | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 -- cgit v1.2.3