Include js in Qtcreator plugin
Unsolved
General and Desktop
-
Hi
I am developing a QtCreator plugin and i wanted to include an asciidoctor.js file into my plugin. I know js files can be imported as part of qml files. But in my plugin, I have all source and header files as .cpp and .h
Can someone let me know if this .js file can be included in my source files and the functions in js can be accessed from my source ? -
@Veepee said in Include js in Qtcreator plugin:
Can someone let me know if this .js file can be included in my source files and the functions in js can be accessed from my source ?
i guess you could instantiate a separate QJSEngine.....but why??