Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
Forum Updated to NodeBB v4.3 + New Features

defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
mediaplayergstreamer1.0raspberry pi3deployment
11 Posts 2 Posters 2.5k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi and welcome to devnet,

    Did you install all these packages on your target sysroot ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • U Offline
      U Offline
      umutgurbuz
      wrote on last edited by umutgurbuz
      #3

      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 ............... no

      Then 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 found

      ERROR: 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

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #4

        Do you have pkg-config installed on your host ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • U Offline
          U Offline
          umutgurbuz
          wrote on last edited by
          #5

          Yes , it is installed.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #6

            Can you generate the list of package installed on the sysroot you are using to cross-compile Qt ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            U 2 Replies Last reply
            0
            • U Offline
              U Offline
              umutgurbuz
              wrote on last edited by
              #7
              This post is deleted!
              1 Reply Last reply
              0
              • SGaistS SGaist

                Can you generate the list of package installed on the sysroot you are using to cross-compile Qt ?

                U Offline
                U Offline
                umutgurbuz
                wrote on last edited by
                #8
                This post is deleted!
                1 Reply Last reply
                0
                • SGaistS SGaist

                  Can you generate the list of package installed on the sysroot you are using to cross-compile Qt ?

                  U Offline
                  U Offline
                  umutgurbuz
                  wrote on last edited by
                  #9

                  @sgaist all

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    How many versions of Qt do you have on that device ?
                    If you build your application directly on the Pi, does it behave correctly ?

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • U Offline
                      U Offline
                      umutgurbuz
                      wrote on last edited by
                      #11

                      0_1568024286357_2019-09-09 13-17-33 ekran görüntüsü.png
                      I have these versions . It does not work when i build directly on raspberry pi .

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved