I was using Qt 4.4.3 ,on linux but now I have downloaded and installed Qt 4.6.2 on Linux to access web.
when I run code
QWebView *view = new QWebView(parent);
view
->load
(QUrl("http://85.199.39.240/view/view.shtml"));
view->show();
QWebView *view = new QWebView(parent);
view->load(QUrl("http://85.199.39.240/view/view.shtml"));
view->show();
To copy to clipboard, switch view to plain text mode
it compiles without error but when I run exe it gives error
error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory
error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory
To copy to clipboard, switch view to plain text mode
I included
QT += webkit
QT += webkit
To copy to clipboard, switch view to plain text mode
in my .pro file ,also I included
#include <QtWebKit>
#include <QtWebKit>
To copy to clipboard, switch view to plain text mode
in my cpp file .
why this error occures?
Bookmarks