[Interest] Question about QtDeclarative Internals
alex.shaw.as at gmail.com
Wed Apr 21 15:48:41 CEST 2021
I am relatively new to mailing lists, so if I am doing something wrong here
please forgive me.
Is this the place to ask questions about the internals of Qt modules?
In QtDeclarative, can a QV4::ReturnedValue or a QV4::Value be converted
into an ExecutableCompilationUnit?
I'm trying to work on a patch for QJSEngine to allow modules to be
registered in C++ (similar to Node.js: import fs from "fs")
The planned method is something along the lines of:
void QJSEngine::registerModule(const QString &moduleName, const QJSValue
I can see that behind the scenes, loadModule compiles a URL to an
ExecutableCompilationUnit, then saves it to a list of modules for future
I thought the easiest way to do what I need is to convert a QJSValue to an
internal QV4::Value, and from there into an ExecutableCompilationUnit.
Is there any way of doing that?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest