From 6f181768a3147bbfa9a33cf2c05453365693f5b9 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Fri, 11 Dec 2020 13:35:53 +0100 Subject: Add a QJSManagedValue A QJSManagedValue is a view on a QJSValue which always knows the engine the value belongs to. This allows us to implement the JavaScript semantics of the various QJSValue methods in a much more rigorous way. [ChangeLog][QtQml] The new QJSManagedValue should be used instead of QJSValue for manipulating properties and prototypes of JavaScript values, as well as for calling JavaScript functions. Change-Id: I9d445ffcf68dfa72dba9bae0818e83c80665ad66 Reviewed-by: Fabian Kosmale --- src/qml/.prev_CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qml/.prev_CMakeLists.txt') diff --git a/src/qml/.prev_CMakeLists.txt b/src/qml/.prev_CMakeLists.txt index 8c0534c846..93f1a9d50b 100644 --- a/src/qml/.prev_CMakeLists.txt +++ b/src/qml/.prev_CMakeLists.txt @@ -114,6 +114,7 @@ qt_internal_add_module(Qml debugger/qqmlprofiler_p.h inlinecomponentutils_p.h jsapi/qjsengine.cpp jsapi/qjsengine.h jsapi/qjsengine_p.h + jsapi/qjsmanagedvalue.cpp jsapi/qjsmanagedvalue.h jsapi/qjsprimitivevalue.cpp jsapi/qjsprimitivevalue.h jsapi/qjsvalue.cpp jsapi/qjsvalue.h jsapi/qjsvalue_p.h jsapi/qjsvalueiterator.cpp jsapi/qjsvalueiterator.h jsapi/qjsvalueiterator_p.h -- cgit v1.2.3