error while loading shared libraries: libQtWebview.so.1: cannot open shared object file: No such file or directory
-
i am using Qt 4.8.1 in ubuntu 12.04 dynamic build,
in my project i am using Qserialport and QWebview., if run this application in my system , i will work, if i take that binary and run in other system(No-qt installed) i will show error likeerror while loading shared libraries: libQtSerialPort.so.1: cannot open shared object file: No such file or directory
error while loading shared libraries: libQtWebview.so.1: cannot open shared object file: No such file or directory
why it is showing like this ?
how can i solve this issue ? please suggest me.. -
That's because you don't have Qt libraries on your other system. You need to provide all needed libraries together with your application. To see which libraries are needed you can use "ldd /PATH/TO/APPLICATION_BINARY". You should read this: http://doc.qt.io/qt-4.8/deployment.html