libQtWebKit.so.4: cannot open shared object file
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
Code:
QWebView *view = new QWebView(parent);
view
->load
(QUrl("http://85.199.39.240/view/view.shtml"));
view->show();
it compiles without error but when I run exe it gives error
Code:
error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory
I included in my .pro file ,also I included
Code:
#include <QtWebKit>
in my cpp file .
why this error occures?
Re: libQtWebKit.so.4: cannot open shared object file
Perhaps you don't have the libQtWebKit version 4 installed in any directory specified by library (LD) path?