diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2023-11-13 10:54:32 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2023-11-17 07:43:47 +0100 |
commit | 364abd88174fe8dc2c24305021c76df66fed7226 (patch) | |
tree | 0895e9cb9dbadd14eb9e8b75a3a9de6e8ad69a5d /src/qml/qml/qqmlengine_p.h | |
parent | ec9612768fa53dd7a203f69873718f345d6c1219 (diff) |
QtQml: Have QtQml.Base formally import QML
This way we don't have to register QtObject and Component twice.
The QML_NAMED_ELEMENT etc. will return when we make the builtins a
proper module. The imperative registration is a stop gap measure.
Task-number: QTBUG-101143
Change-Id: I726aa77156b31aa624ac44d30e180ace6cb9d790
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/qml/qml/qqmlengine_p.h')
-rw-r--r-- | src/qml/qml/qqmlengine_p.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/qml/qml/qqmlengine_p.h b/src/qml/qml/qqmlengine_p.h index 37142df245..2550808dd8 100644 --- a/src/qml/qml/qqmlengine_p.h +++ b/src/qml/qml/qqmlengine_p.h @@ -58,14 +58,6 @@ class QQmlObjectCreator; class QQmlProfiler; class QQmlPropertyCapture; -struct QObjectForeign { - Q_GADGET - QML_FOREIGN(QObject) - QML_NAMED_ELEMENT(QtObject) - QML_ADDED_IN_VERSION(2, 0) - Q_CLASSINFO("QML.OmitFromQmlTypes", "true") -}; - // This needs to be declared here so that the pool for it can live in QQmlEnginePrivate. // The inline method definitions are in qqmljavascriptexpression_p.h class QQmlJavaScriptExpressionGuard : public QQmlNotifierEndpoint |