使用QWebView加載網頁後,解決Qt與JavaScript通訊的問題:html
The QtWebKit Bridge :http://qt-project.org/doc/qt-4.8/qtwebkit-bridge.htmlweb