1

I'm struggling to play audio files using Qt 5.11.3 and the QMediaPayer class. There is no sound output when playing either .mp3 or .wav files. I had some success to play a wav file using QSound class.

I have also set QT_DEBUG_PLUGINS to 1 but I can't see any clear error.

My goal is to be able to play .mp3 files using the Qt implementation.

1
  • Have you solved it yet? if yes, can you please share your solution with us. I got the same issue and don't know what to do now.
    – AlexATV
    Jun 18, 2019 at 16:06

1 Answer 1

1

This will sound dumb, but the only thing missing was gstreamer1.0-pulseaudio. I missed to notice that one of the components needed pulseaudio, so I think that the pulseaudio install broke my Qt.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.