diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2021-05-21 16:35:28 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-05-21 18:33:24 +0000 |
commit | c6ec3453a027c324bcef0c887a873722974cb342 (patch) | |
tree | 24299fc9b5ea67aa3801e2b3ada2a884017cdb05 | |
parent | 2a50c75fef5ecf02cf650aba8c39a33e8e8f1f2f (diff) |
Doc: Window can be imported with import QtQuick now
Change-Id: Ifea27b5906bf9dcc3087946aaf8bd3aed968309b
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit be74a0082c4b9f6fc3b700ea2c9689bfcb5d1433)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/quick/items/qquickwindow.cpp | 6 |
1 files 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 |