defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
-
Hi and welcome to devnet,
Did you install all these packages on your target sysroot ?
-
I installed them on raspberry pi. I have looked my config summary.
Qt Multimedia:
ALSA ................................... no
GStreamer 1.0 .......................... no
GStreamer 0.10 ......................... no
Video for Linux ........................ yes
OpenAL ................................. no
PulseAudio ............................. no
Resource Policy (libresourceqt5) ....... no
Windows Audio Services ................. no
DirectShow ............................. no
Windows Media Foundation ............... noThen I have installed gstreamer dev packages both in my computer and raspberry pi and configure again with multimedia options and terminal error says like below :
WARNING: host pkg-config not foundERROR: Feature 'alsa' was enabled, but the pre-condition 'config.unix && !config.qnx && libs.alsa' failed.
ERROR: Feature 'gstreamer_1_0' was enabled, but the pre-condition 'libs.gstreamer_1_0' failed.
ERROR: Feature 'pulseaudio' was enabled, but the pre-condition 'libs.pulseaudio' failed.
And this is my config command :
./configure -release -opengl es2 -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -skip qtwayland -skip qtscript -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -no-use-gold-linker -v -no-gbm -gstreamer 1.0 -alsa -pulseaudio -
Do you have pkg-config installed on your host ?
-
Yes , it is installed.
-
Can you generate the list of package installed on the sysroot you are using to cross-compile Qt ?
-
This post is deleted!
-
This post is deleted!
-
How many versions of Qt do you have on that device ?
If you build your application directly on the Pi, does it behave correctly ? -
I have these versions . It does not work when i build directly on raspberry pi .