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. instantiate QAudioDecoder, get "no service found"

instantiate QAudioDecoder, get "no service found"

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 1 Posters 425 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.
  • D Offline
    D Offline
    davecotter
    wrote on last edited by davecotter
    #1

    tested on mac so far. testing windows now.

    I googled around and see tons of reports of this problem, but no mention of it in the documentation, nor a step-by-step for how to solve it.

    I'm just following the code on this page under "Decoding Compressed Audio to Memory".

    the moment the debugger steps over this line:

    QAudioDecoder *decoder = new QAudioDecoder(this);

    i get that warning in the console:

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

    I HAVE tried deploying plugins, and i do see the "audio" folder in my app bundle with the audio plugin inside, but that doesn't help

    1 Reply Last reply
    0
    • D Offline
      D Offline
      davecotter
      wrote on last edited by
      #2

      OMG QAudioDecoder is simply unsupported on macOS? why on earth is there NO MENTION OF THIS in the documentation for QAudioDecoder? I wasted a LOT of time investing in it.

      https://bugreports.qt.io/browse/QTBUG-50820

      https://wiki.qt.io/Qt_5.13_Multimedia_Backends

      Has anyone written an AVFoundation plugin for QAudioDecoder?

      1 Reply Last reply
      0
      • D Offline
        D Offline
        davecotter
        wrote on last edited by
        #3

        why is this considered a "closed" bug? if it's not supported, why bother having the API in the first place?

        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