how can I access the javascript variable value in my qt-code -
i'm beginner in qt. tell me how use javascript variable value in qt-code? in advance.
here documentation should answer question:
http://qt-project.org/doc/qt-4.8/qwebframe.html#evaluatejavascript
http://qt-project.org/doc/qt-4.8/qtwebkit-bridge.html
http://qt-project.org/doc/qt-4.8/qwebframe.html#addtojavascriptwindowobject
http://qt-project.org/doc/qt-4.8/qwebframe.html#javascriptwindowobjectcleared
just looking @ docs, need call addtojavascriptwindowobject()
, , maybe need make sure object doesn't cleared when javascript finishes.
hope helps.
Comments
Post a Comment