diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2022-08-04 11:15:55 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-08-04 22:59:22 +0000 |
commit | 01a005c2958967c101ce96572171fc291913f92b (patch) | |
tree | d1b33ebcd2d8f4c5edb4803b37d73e24644b6048 | |
parent | 76791030ca51a5a3a7ca7ba0be4a29c1a46484c8 (diff) |
Qml: Omit QQmlComponentAttached from qmltypes
It already exists in the builtins.
Amends commit 687609f2f3a98ade4b8e074615c3d1db1228fce0.
Change-Id: Ic71252e0d78b4e033d5ea7deb837f719f9e4c5d9
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit 8358cbca4e3f94cd41ba43d38b5abdccc3dda3f6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/qml/qml/qqmlcomponentattached_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlcomponentattached_p.h b/src/qml/qml/qqmlcomponentattached_p.h index dd794b712c..14874ab9cb 100644 --- a/src/qml/qml/qqmlcomponentattached_p.h +++ b/src/qml/qml/qqmlcomponentattached_p.h @@ -32,6 +32,7 @@ class Q_QML_PRIVATE_EXPORT QQmlComponentAttached : public QObject // force an anonymous type registration here. QML_ANONYMOUS QML_ADDED_IN_VERSION(2, 0) + Q_CLASSINFO("QML.OmitFromQmlTypes", "true") public: QQmlComponentAttached(QObject *parent = nullptr); ~QQmlComponentAttached(); |