Unable to execute the player example after a fresh install
-
Exactly the same problem!
same os, same qt version, and the same error ! -
@rickywong2017 the same to me ,did u solve this problem?
-
Solution for Qt 5.8.0 on Ubuntu 14.04
This is basically the error:
Cannot load library /home/massimo/projects/Qt5.8.0/5.8/gcc_64/plugins/mediaservice/libgstmediaplayer.so: (/home/massimo/projects/Qt5.8.0/5.8/gcc_64/plugins/mediaservice/../../lib/libqgsttools_p.so.1: undefined symbol: _gst_value_list_type)
Which means the Qt Multimedia team didn't consider the gstreamer version shipping on Ubuntu 14.04 which is 1.2.3.
To solve you need to update GST with a PPA. Seems 1.6.x is enough to make Qt happy.sudo add-apt-repository ppa:dan-witt/gstreamer sudo apt-get update sudo apt-get upgrade
Footnote: 14.04 is a LTS version and Qt didn't care. This is horrible and bad decision making IMHO.
-
@mcallegari79 If you want LTS everywhere then Qt 5.6 is the current LTS not 5.8.
-
@rickywong2017 Why i still got that error when running the example on 5.6.2 :((
I am newbie. Sorry if my question is noob.
Can anyone tell me how to launched the application with the variable QT_DEBUG_PLUGINS=1 -
@Grynium @rickywong2017
This is the way i fixed it.
Step 1: use 'apt-cache search -n gstreamer' to get the list all of the gstreamer and libgstream lib
Step 2: for each of lib in the list. Use 'apt-get install name-of-the-gstreamer-lib' to install it. After install almost the lib in the list my example run. ( i don't know which is the exactly lib i need to install. I just install all of them until my example run)
Step 3: rebuild your example and run.I hope this help.