I have a fully self contained node_modules directory of an installed package.

>From a command line POV  can run

node script.mjs

And the script runs absolutely fine.

For Qt, I have created a QRC file with the node modules, as well as the 
script.mjs

I would like to be able to do something along the lines of

QJSEngine engine;
engine.evaluate( "qrc:/js/script.mjs" )

Is there an example anywhere of this working? Is it even possible?

Scott
_______________________________________________
Interest mailing list
[email protected]
https://lists.qt-project.org/listinfo/interest

Reply via email to