Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Mac: QAudioDecoder + mp3?
Qt 6.11 is out! See what's new in the release blog

Mac: QAudioDecoder + mp3?

Scheduled Pinned Locked Moved Solved Qt 6
2 Posts 1 Posters 867 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.
  • davecotterD Offline
    davecotterD Offline
    davecotter
    wrote on last edited by davecotter
    #1

    On this page it says "Qt 6 also has cross platform support for decoding audio files into raw PCM data using the QAudioDecoder class"

    Which means decoding mp3 using qt6 on mac should work, right?

    well, it doesn't :(

    it won't decode mp3, gives this error: "QAudioDecoder::FormatError: Unsupported Source Format"

    is this issue KNOWN? is it expected?

    minimal runnable example here, works on mac and windows, qt5 and qt6. it won't link on qt6 just yet due to this other bug.

    Results:
    qt5 mac: ERROR: Service missing: "The QAudioDecoder object does not have a valid service" (as expected)
    qt5 win: works! YAY!
    qt6 mac: ERROR: Format: "Unsupported source format" <-- this should work, no?
    qt6 win: can't lnk but should also work

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

      bug filed

      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