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.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/compat/removed_api.cpp b/src/qml/compat/removed_api.cpp
index acdd0bab13..00c899d73c 100644
--- a/src/qml/compat/removed_api.cpp
+++ b/src/qml/compat/removed_api.cpp
@@ -17,5 +17,10 @@ QJSValue QJSEngine::create(int typeId, const void *ptr)
return create(type, ptr);
}
+bool QJSEngine::convertV2(const QJSValue &value, int type, void *ptr)
+{
+ return convertV2(value, QMetaType(type), ptr);
+}
+
#endif