Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
Description
Like QScriptEngine, QJSEngine should provide a way to register a C++ callback that can
- access its (variable number of) arguments
- the "this" object
- its callee
- determine whether it was called as constructor
- the call stack
- ...
Basically, give access to the execution context of the called function.
Attachments
Issue Links
- relates to
-
QTBUG-103462 QJSEngine/QQmlEngine: Support calling C++ static member functions, namespaced functions, and/or standalone functions
- Reported
-
QTBUG-103461 QJSEngine/QQmlEngine: Support instantiating C++ classes in JavaScript using `new`
- Reported