Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] QtMultimedia : defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
Forum Update on Monday, May 27th 2025

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

Scheduled Pinned Locked Moved General and Desktop
qtmultimediano serviceqt5
35 Posts 16 Posters 79.6k Views
  • 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.
  • M Offline
    M Offline
    Mega4alik
    wrote on 25 Mar 2014, 05:56 last edited by
    #17

    Hi, I'm experiencing the same problem on building Static.
    I descriped my problem in the next link.
    http://qt-project.org/forums/viewthread/40102/

    Solutions above won't work for me

    1 Reply Last reply
    0
    • R Offline
      R Offline
      raf924
      wrote on 25 Mar 2014, 09:32 last edited by
      #18

      Well, I believe it should be rather simple to fix your problem. You just need to apply the modifications to the source as indicated then build it statically then copy the result in your static Qt folder. I am by no means certain it will work but I think it should.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Mega4alik
        wrote on 26 Mar 2014, 05:28 last edited by
        #19

        Sorry, I'm nube in QT

        This is QT folder that runs Static "C:\Qt\Static\5.2.0"

        This is source folder it build from "C:\Qt\Static\src\qt-everywhere-opensource-src-5.2.0".

        Now, I have to
        -Dowload and extract the qtmultimedia submodule [download.qt-project.org]
        to "C:\Qt\Static\src\qt-everywhere-opensource-src-5.2.0\qtmultimedia"
        -Delete the following in the plugins.pro file:
        config_wmf: SUBDIRS += wmf
        -Change in the directshow.pro file:
        !config_wmf: include(player/player.pri)
        into
        include(player/player.pri)

        go to "C:\Qt\Static\src\qt-everywhere-opensource-src-5.2.0\qtmultimedia" with MinGW and run "qmake" command to compile it?

        And than copy some resulting folder to "C:\Qt\Static\5.2.0" ?

        1 Reply Last reply
        0
        • R Offline
          R Offline
          raf924
          wrote on 27 Mar 2014, 11:02 last edited by
          #20

          Right, that's it I guess. I've never built Qt statically so I wouldn't know for sure. You try it and tell me if it works. If it doesn't compile the whole framework after the modifications, it'll take more time but it should work.

          1 Reply Last reply
          0
          • V Offline
            V Offline
            VoiD
            wrote on 30 Mar 2014, 20:41 last edited by
            #21

            Hi,
            Do you have a feedback on that (even though I tried)?
            Cause I've been trying to build a static 5.2.1 but so far, i can't get qtmultimedia to work...
            (defaultServiceProvider::requestService(): no service found for - “org.qt-project.qt.mediaplayer”)
            Of course everything works perfectly on the dynamic side.

            [quote author="Mega4alik" date="1395811707"]Sorry, I'm nube in QT

            This is QT folder that runs Static "C:\Qt\Static\5.2.0"

            This is source folder it build from "C:\Qt\Static\src\qt-everywhere-opensource-src-5.2.0".

            Now, I have to
            -Dowload and extract the qtmultimedia submodule [download.qt-project.org]
            to "C:\Qt\Static\src\qt-everywhere-opensource-src-5.2.0\qtmultimedia"
            -Delete the following in the plugins.pro file:
            config_wmf: SUBDIRS += wmf
            -Change in the directshow.pro file:
            !config_wmf: include(player/player.pri)
            into
            include(player/player.pri)

            go to "C:\Qt\Static\src\qt-everywhere-opensource-src-5.2.0\qtmultimedia" with MinGW and run "qmake" command to compile it?

            And than copy some resulting folder to "C:\Qt\Static\5.2.0" ?
            [/quote]

            1 Reply Last reply
            0
            • M Offline
              M Offline
              Mega4alik
              wrote on 31 Mar 2014, 03:45 last edited by
              #22

              [quote author="VoiD" date="1396212068"]Hi,
              Do you have a feedback on that (even though I tried)?
              Cause I've been trying to build a static 5.2.1 but so far, i can't get qtmultimedia to work...
              (defaultServiceProvider::requestService(): no service found for - “org.qt-project.qt.mediaplayer”)
              Of course everything works perfectly on the dynamic side.
              [/quote]

              Hi, I couldn't make it work with MINGW. Currently I'm trying to build it with MSVC. I will post after I get some results.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                Mega4alik
                wrote on 2 Apr 2014, 05:59 last edited by
                #23

                [quote author="VoiD" date="1396212068"]Hi
                [/quote]

                Hi, after many unsuccessful tries, I assumed that somebody uploaded ready Static package and found this one http://www.npcglib.org/~stathis/blog/precompiled-qt4-qt5/.
                Currently trying

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  gogasome
                  wrote on 10 Jun 2014, 07:10 last edited by
                  #24

                  Hi
                  I followed this solution step by step. but didn’t get a success. I compiled using mscv2012.
                  Qt 5.2.1
                  QCreator 3.0.1
                  Os win8 ×64
                  I don’t have much knowledge in qt and can’t imagine what i could miss. I need to have audio playback by Url, but i can’t play any local wav, mp3 as well.

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    gogasome
                    wrote on 12 Jun 2014, 13:13 last edited by
                    #25

                    Found my problem. I miss
                    @QT += network@

                    hope it will help another beginners save time.

                    1 Reply Last reply
                    0
                    • W Offline
                      W Offline
                      wesblake
                      wrote on 20 Feb 2015, 17:33 last edited by
                      #26

                      Hello. Should this work for 5.3.2 as well?
                      I've tried these instructions as well as about 10 other sets that are similar, and still have no luck with playback in XP. We're using Creator with the MSVC 2012 w/ OpenGL compiler/Qt.

                      • Our app downloads a wmv file into the users temp directory, then plays it back. If there's an error, we display it in our player as "Error: " + what is returned by errorString() on QMediaPlayer.
                      • It works perfectly in Windows Vista+
                      • On XP, with the multimedia dll's that came with Qt 5.3.2 package, we see:
                        "Error: The QMediaPlayer object does not have a valid service"
                      • On XP, with the multimedia dll's compiled using various instructions including the ones in this thread, I simply get:
                        "Error: "

                      I'm developing on Windows 7 but my next steps are to get Creator/Qt installed on XP to see if I can get anything more out of Creator. It's quite frustrating.

                      1 Reply Last reply
                      0
                      • W Offline
                        W Offline
                        wesblake
                        wrote on 20 Feb 2015, 17:33 last edited by
                        #27
                        This post is deleted!
                        R 1 Reply Last reply 6 May 2015, 14:11
                        0
                        • W wesblake
                          20 Feb 2015, 17:33

                          This post is deleted!

                          R Offline
                          R Offline
                          rafael.naciri
                          wrote on 6 May 2015, 14:11 last edited by rafael.naciri 5 Jun 2015, 14:12
                          #28

                          Hi, I'm @raf924 but I couldn't access my account so I made another.

                          @wesblake Do you use the x64 version of XP? Because according to this link : http://doc.qt.io/QtSupportedPlatforms/index.html#qt-5-3, Qt5.x only supports its 32 bit version and only for deployement so I wouldn't recommend installing QtCreator/Qt on your xp machine. And if you use the 32 bit version, is your compiler 32bit also? Because I think that would be an issue if the compiler is x64.

                          Also since I posted these instructions I haven't tried them on the latest version of Qt since I now use libVLC for media rendering.

                          1 Reply Last reply
                          0
                          • E Offline
                            E Offline
                            EZavod
                            wrote on 15 May 2015, 18:23 last edited by
                            #29

                            Hi,
                            same problem as described above and solutions did not work properly.

                            I found out that you must have libgstreamer installed!
                            (see http://doc.qt.io/qt-5/linux-requirements.html in chapter "Multimedia Dependencies")

                            After installation of libgstreamer every thing worked perfectly (some troubles with mp3 encoding but that is an os problem).

                            Fix on my System (openSUSE 13.2 64bit):
                            sudo zypper install libgstreamer-0_10-0
                            (or http://software.opensuse.org/package/libgstreamer-0_10-0)

                            Hope this will help others.

                            1 Reply Last reply
                            1
                            • tomasz3dkT tomasz3dk
                              23 Jul 2013, 12:05

                              Has anybody a solution for Linux and gstremer?

                              H Offline
                              H Offline
                              hfrenkel
                              wrote on 1 Sept 2016, 13:04 last edited by
                              #30

                              @tomasz3dk On my Linux (Ubuntu 14.04) machine I have just solved this problem
                              (the message "defaultServiceProvider::requestService(): no service found for - 'org.qt-project.qt.mediaplayer' ", and no video playback)
                              by installing
                              sudo apt-get install qtmultimedia5-examples,
                              which seems to contain the required plugin(s).

                              1 Reply Last reply
                              4
                              • P Offline
                                P Offline
                                Paapu88
                                wrote on 29 Aug 2017, 11:38 last edited by
                                #31

                                Hei,
                                In lubuntu 16.04 I needed additionally sudo apt-get install qtgstreamer-plugins-qt5
                                terveisin, Markus

                                1 Reply Last reply
                                1
                                • T Offline
                                  T Offline
                                  turkeyzhu
                                  wrote on 12 Sept 2017, 10:17 last edited by
                                  #32

                                  Iuse linux QtMutimedia, have the same issue ? i have a quession, who have use the static mode qt in linux (android.unix ),any one who try it?

                                  1 Reply Last reply
                                  0
                                  • T Offline
                                    T Offline
                                    turkeyzhu
                                    wrote on 12 Sept 2017, 10:30 last edited by
                                    #33

                                    if use static mode , the arm and mips will be not hard, and we can easy use it on vehicle, car mode . EXP online car mode.

                                    1 Reply Last reply
                                    0
                                    • ArtyA Offline
                                      ArtyA Offline
                                      Arty
                                      wrote on 11 Oct 2018, 14:01 last edited by
                                      #34

                                      I got an similar problem but only no service found for - "org.qt-project.qt.camera"

                                      1 Reply Last reply
                                      0
                                      • L Offline
                                        L Offline
                                        LE_XIAN_SEN
                                        wrote on 17 Mar 2019, 11:55 last edited by
                                        #35

                                        Hi
                                        I'm using ubuntu-base on my imx6ul board,and i solved this problem by using this command
                                        sudo apt-get install libqt5multimedia5-plugins
                                        install the libqt5multimedia5-plugins

                                        1 Reply Last reply
                                        2

                                        • Login

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