I was investigating using Thrust as a replacement for a utility that we built in Qt using the QWebView. I'm not sure if I'm overlooking something, but is it possible to interact with the Javascript engine from the node.js javascript?
I'm trying to avoid rewriting large portions of this, so I'm battling issues now where all of the code/logic is in the C++, and we're basically just using the QWebView to render HTML.
To be more specific, it would be great if something like this could be done:
require("node-thrust")(function(err, api) {
window = api.window({ root_url: "/index.html" });
window.show();
...
window.on("load", function(err, ...){
...
$(this).executeScript("alert('Hi');");
});
});
I take it this is not possible to do with Thrust? I would need to modify all of our files to utilize the webview tags?