From c6ec3453a027c324bcef0c887a873722974cb342 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Fri, 21 May 2021 16:35:28 +0200 Subject: Doc: Window can be imported with import QtQuick now Change-Id: Ifea27b5906bf9dcc3087946aaf8bd3aed968309b Reviewed-by: Ulf Hermann (cherry picked from commit be74a0082c4b9f6fc3b700ea2c9689bfcb5d1433) Reviewed-by: Qt Cherry-pick Bot --- src/quick/items/qquickwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/quick/items/qquickwindow.cpp b/src/quick/items/qquickwindow.cpp index 81a0bbd1c7..f143a689a6 100644 --- a/src/quick/items/qquickwindow.cpp +++ b/src/quick/items/qquickwindow.cpp @@ -869,16 +869,16 @@ void QQuickWindowPrivate::cleanup(QSGNode *n) /*! \qmltype Window \instantiates QQuickWindow - \inqmlmodule QtQuick.Window + \inqmlmodule QtQuick \ingroup qtquick-visual \brief Creates a new top-level window. The Window object creates a new top-level window for a Qt Quick scene. It automatically sets up the - window for use with \c {QtQuick 2.x} graphical types. + window for use with \c {QtQuick} graphical types. To use this type, you will need to import the module with the following line: \code - import QtQuick.Window 2.2 + import QtQuick \endcode Omitting this import will allow you to have a QML environment without -- cgit v1.2.3