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. No service found for - "org.qt-project.qt.mediaplayer" - SOLVED
Forum Updated to NodeBB v4.3 + New Features

No service found for - "org.qt-project.qt.mediaplayer" - SOLVED

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 3.0k 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.
  • mgilormaM Offline
    mgilormaM Offline
    mgilorma
    wrote on last edited by
    #1

    There are many threads related to sound not playing on apps. I am running on Windows 7, 32bit, Qt 5.1.1. My problem was slightly different. A simple test program playing a wav file worked when running through Qt creator. However when trying to run from a deployment folder that contains the application, wav file, qt.dlls, and platforms folder (from qt/.../plugins/platforms), the app would open but not play the wav file with the following error:

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

    I had to add CONFIG += console to my .pro file to get the above output. Googling this output gave me a ton of results. I found that I needed to add the following to my deployment folder:

    • mediaservice folder from plugins

    This did not fix my problem however, after adding the system environment variable QT_DEBUG_PLUGINS and setting it to a value of 1, I got a ton more output when running the application. After some more googling of the debug output I stumbled upon my solution. I needed to include Qt5OpenGL.dll in my deployment folder.

    I suppose a good way to build a deployment folder would be to include all dlls and plugins and work backwards to strip out un-needed files to reduce folder size.

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Thank you for sharing your solution!

      [quote]I suppose a good way to build a deployment folder would be to include all dlls and plugins and work backwards to strip out un-needed files to reduce folder size.[/quote]Yes, that's the technique recommended in this "wiki page":http://qt-project.org/wiki/Deploy_an_Application_on_Windows

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      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