Link qt mediaplayer with vlc library instead of gstreamer
-
In that project I cannot make use of the library installed. It says cannot open libVLCQtCore.so
-
What is the exact error ?
Where do you have that library located ?
-
error while loading shared libraries: libVLCQtCore.so.1.1: cannot open shared object file: No such file or directory
In my pro file I have included
INCLUDEPATH += /usr/include/vlc
LIBS += -L /usr/local/lib/ -lVLCQtCore -lVLCQtWidgets -lVLCQtQmlI have my libraries like
lrwxrwxrwx 1 root root 19 Aug 30 13:49 libVLCQtCore.so -> libVLCQtCore.so.1.1
lrwxrwxrwx 1 root root 21 Aug 30 13:49 libVLCQtCore.so.1.1 -> libVLCQtCore.so.1.1.0
-rw-r--r-- 1 root root 3137487 Aug 26 15:44 libVLCQtCore.so.1.1.0
lrwxrwxrwx 1 root root 18 Aug 30 13:49 libVLCQtQml.so -> libVLCQtQml.so.1.1
lrwxrwxrwx 1 root root 20 Aug 30 13:49 libVLCQtQml.so.1.1 -> libVLCQtQml.so.1.1.0
-rw-r--r-- 1 root root 3071155 Aug 26 15:44 libVLCQtQml.so.1.1.0
lrwxrwxrwx 1 root root 22 Aug 30 13:49 libVLCQtWidgets.so -> libVLCQtWidgets.so.1.1
lrwxrwxrwx 1 root root 24 Aug 30 13:49 libVLCQtWidgets.so.1.1 -> libVLCQtWidgets.so.1.1.0
-rw-r--r-- 1 root root 1491671 Aug 30 13:43 libVLCQtWidgets.so.1.1.0 -
There should be not space between
-L
and the path.To verify whether these libraries can be found at run time, call
ldd your_app_name
in a console.If it's not the case you can modify the
LD_LIBRARY_PATH
environment variable to add the path to your libraries to the loader search path.