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. Qt error: defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"

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

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 2 Posters 2.5k Views 1 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.
  • F Offline
    F Offline
    fSociety
    wrote on last edited by fSociety
    #1

    Hello!
    First, sorry for my bad english.
    I have a small C++ Qt console program and it plays a sound.
    When i run the project inside the Qt creator it plays the sound, but when i try to run the .exe not inside the Qt, i get the following text in my console program:
    defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"

    I hope someone could help me

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

      Hi and welcome to devnet,

      What OS are you using ? What version of Qt ?

      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
      • F Offline
        F Offline
        fSociety
        wrote on last edited by fSociety
        #3

        Hi!
        Thank you.
        I'm using Windows 10 64-bit and Qt 5.7.0 for Windows 64-bit

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

          Ok, then what console are you using to run your application ?
          Since it's outside Qt Creator, did you follow the deployment steps for Windows (essentially run windeployqt) ?

          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
          • F Offline
            F Offline
            fSociety
            wrote on last edited by fSociety
            #5

            I just click the builded .exe file in the release folder to run my console application, so i did not follow the deployment steps because i haven't known about it

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

              Deployment documentation

              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
              2
              • F Offline
                F Offline
                fSociety
                wrote on last edited by
                #7

                Thank you! It worked :)

                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