aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlengine.cpp')
-rw-r--r--src/qml/qml/qqmlengine.cpp34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp
index 3c86bdbb1b..ae36fde7f0 100644
--- a/src/qml/qml/qqmlengine.cpp
+++ b/src/qml/qml/qqmlengine.cpp
@@ -105,40 +105,6 @@
QT_BEGIN_NAMESPACE
-// Declared in qqml.h
-int qmlRegisterUncreatableMetaObject(const QMetaObject &staticMetaObject,
- const char *uri, int versionMajor,
- int versionMinor, const char *qmlName,
- const QString& reason)
-{
- QQmlPrivate::RegisterType type = {
- 0,
- QMetaType(),
- QMetaType(),
- 0,
- nullptr,
- nullptr,
- reason,
- nullptr,
-
- uri, QTypeRevision::fromVersion(versionMajor, versionMinor), qmlName, &staticMetaObject,
-
- QQmlAttachedPropertiesFunc(),
- nullptr,
-
- 0,
- 0,
- 0,
-
- nullptr, nullptr,
-
- nullptr,
- QTypeRevision::zero()
- };
-
- return QQmlPrivate::qmlregister(QQmlPrivate::TypeRegistration, &type);
-}
-
/*!
\qmltype QtObject
\instantiates QObject