View Full Version : execute a small piece of javascript code ?

8th August 2009, 18:19
Is there any easy way to execute a piece of javascript replied from HTTP server ?

Is Webkit too big for this problem ? but it is integrated in Qt instead of spidermonkey engine.


12th August 2009, 11:19
Did you try QScriptEngine?

28th February 2012, 14:00
You did not even to get the Script replied by the HTTP server
look into the Fancy Browser Example and search for evaluateJavaScript
Thus you can write your JavaScript into the Qt Application
If you want to start JavaScript in interaction with web sites use normal html event handling