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 ?
-
wrote on 5 Sept 2019, 08:08 last edited by umutgurbuz 9 May 2019, 08:08
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 ?
-
wrote on 6 Sept 2019, 05:13 last edited by
Yes , it is installed.
-
Can you generate the list of package installed on the sysroot you are using to cross-compile Qt ?
-
wrote on 8 Sept 2019, 11:05 last edited byThis post is deleted!
-
Can you generate the list of package installed on the sysroot you are using to cross-compile Qt ?
wrote on 8 Sept 2019, 12:03 last edited byThis post is deleted! -
Can you generate the list of package installed on the sysroot you are using to cross-compile Qt ?
wrote on 9 Sept 2019, 06:25 last edited by -
How many versions of Qt do you have on that device ?
If you build your application directly on the Pi, does it behave correctly ? -
wrote on 9 Sept 2019, 10:20 last edited by
11/11