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

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -