aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compat/removed_api.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/compat/removed_api.cpp')
-rw-r--r--src/qml/compat/removed_api.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/qml/compat/removed_api.cpp b/src/qml/compat/removed_api.cpp
index 3ee11717cd..4cbaab71a9 100644
--- a/src/qml/compat/removed_api.cpp
+++ b/src/qml/compat/removed_api.cpp
@@ -116,4 +116,13 @@ void QQmlPrivate::AOTCompiledContext::initLoadGlobalLookup(uint index) const
engine->handle()->amendException();
}
+QVariant QQmlPrivate::AOTCompiledContext::constructValueType(
+ QMetaType resultMetaType, const QMetaObject *resultMetaObject,
+ int ctorIndex, void *ctorArg) const
+{
+ void *args[] = {ctorArg};
+ return QQmlValueTypeProvider::constructValueType(
+ resultMetaType, resultMetaObject, ctorIndex, args);
+}
+
#endif