It is possible to load an external javascript file from the html using QWebView?
In the following QtProject (all files in the same directory) there is javascript cod
If you want to load a local html file, first you need to change the src attribute of the javascript, for example:
then src is changed to src="'file:///D:/home/myWeb/js/myjs.js'"
this will work. Relative path can also be given.