[Interest] QJSEngine with QRC
Scott Bloom
scott at towel42.com
Wed Oct 29 02:57:42 CET 2025
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20251029/c5109448/attachment.htm>
More information about the Interest
mailing list