aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/tooling
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-01-18 11:24:02 +0100
committerUlf Hermann <ulf.hermann@qt.io>2021-01-18 13:42:48 +0100
commitbdb2b66f3d7d027e3022aabd63fe73d305ed058f (patch)
treea1e3dd0ca8748b846ba136b4997fd0176f628a6d /src/imports/tooling
parent65b88e61a5a67a0377b375b444fa4fb2a4c9f2b5 (diff)
Add support for extended types to qmltyperegistrar
We generate the extensions as separate types. This also covers the case of value types being extended by "themselves". We can properly express this now, so we don't need the hackery of generating the local members of a type with QML_FOREIGN into the foreign type anymore. This also fixes interfaces from local types being written for foreign types. Fixes: QTBUG-89501 Change-Id: Ic76acd7eef09a92c1e36bd7a649c7a2deb24597b Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/imports/tooling')
-rw-r--r--src/imports/tooling/Component.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/tooling/Component.qml b/src/imports/tooling/Component.qml
index 0045a75a6d..786e4a99df 100644
--- a/src/imports/tooling/Component.qml
+++ b/src/imports/tooling/Component.qml
@@ -50,6 +50,7 @@ QtObject {
property var interfaces: []
property string attachedType
property string valueType
+ property string extension
property bool isSingleton: false
property bool isCreatable: name.length > 0
property bool isComposite: false