Add the following line to the project file (.pro file)
And then Rebuild (or Clean All and then Rebuild)
Add the following line to the project file (.pro file)
And then Rebuild (or Clean All and then Rebuild)
working! thanks both!
i have already added that in project file but in vain.
not able to get rid of that error:
@raevilman: Post the code which uses QWebView.
And have you tried Rebuild or Clean All then Rebuild?
New QT 5.0 need to use <QtWebKitWidget/QWebView>
and need add
QT +=webkitwidget
1) download last version Qt >= 5.1
2) #include <QtWebKitWidgets/QWebView>
3) in *.pro add webkitwidgets :
QT += core gui webkitwidgets
4) to use:
webView->load(QUrl(lineEdit->text()));
Last edited by marksh; 3rd September 2013 at 09:57.
Bookmarks