Hi, that, when I use the following codes:
QUrl tgt("http://www.google.com");
ui->webView->load(tgt);
ui->webView->page()->mainFrame()
there is no following story, how can I GET FUNCTION LIKE "setScrollBarValue"?
Hi, that, when I use the following codes:
QUrl tgt("http://www.google.com");
ui->webView->load(tgt);
ui->webView->page()->mainFrame()
there is no following story, how can I GET FUNCTION LIKE "setScrollBarValue"?
try it:
Qt Code:
ui->webView->setUrl(tgt); ui->webView->show();To copy to clipboard, switch view to plain text mode
solved, add #include <QtWebKitWidgets>, not just <QWebView>
Bookmarks