-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible to get/call webview event's manually through window code in node? #283
Comments
You can unsecurely do this using the thrust messaging API. Not sure if it
|
i.e. Very very pseudo code, read the docs for real functions in driver
in html
|
Thank you for the multiple follow-ups. Unfortunately, this would make it so that we would need to modify all the HTML files, which would be tenuous at best. What we're utilizing now is http://doc.qt.io/qt-4.8/qwebframe.html#evaluateJavaScript , which made it so we were able to build certain Javascript when needed and have the page execute it ( without the need to modify the HTML to accept ). Thank you again for the follow-ups. We will definitely keep Thrust in mind for new projects we're building. |
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:
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?
The text was updated successfully, but these errors were encountered: