diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-01-31 16:15:33 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-02-01 22:04:37 +0000 |
commit | f3f1660247d4cd4fac36c394368111338aef6fa8 (patch) | |
tree | f9c18c842e6ecc3f09f191bfc01d7dd63e029344 | |
parent | 8ea33ad25177c0a358a6739abfb7113ed71c517e (diff) |
ApplicationWindow: add QML_ATTACHED macro
...otherwise qmllint will not find the attached property
Fixes: QTBUG-100339
Change-Id: Id72d714494c0a612a3a351937b757d1a6e969166
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit 8f6a4026221ea0dd366022c588518af0c220443d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/quicktemplates2/qquickapplicationwindow_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickapplicationwindow_p.h b/src/quicktemplates2/qquickapplicationwindow_p.h index 4e4f50efff..f5aa8b8b1a 100644 --- a/src/quicktemplates2/qquickapplicationwindow_p.h +++ b/src/quicktemplates2/qquickapplicationwindow_p.h @@ -79,6 +79,7 @@ class Q_QUICKTEMPLATES2_PRIVATE_EXPORT QQuickApplicationWindow : public QQuickWi Q_CLASSINFO("DefaultProperty", "contentData") QML_NAMED_ELEMENT(ApplicationWindow) QML_ADDED_IN_VERSION(2, 0) + QML_ATTACHED(QQuickApplicationWindowAttached) public: explicit QQuickApplicationWindow(QWindow *parent = nullptr); |