Raspberyy Qt5 Audio Play?


#1

Hi,

Anyone can play audio or video file with Qt5 on Raspberry Pi (Build with Buildroot) ?

When i want to play audio, I get error about gstreamer and I can’t find solution.

What are the required packages at buildroot for play audio files on raspberry ?

Log ( GST_DEBUG=9 GST_DEBUG_NO_COLOR=1 ./QMediaPlayerTry)
https://www.wetransfer.com/downloads/01a5a1fc4e92389a15f82bea60eb1c8320160729060315/3c19d3b3a2fc3a1a83326e7375336d7220160729060315/e9e532


#2

In the early phase of Raspberry boards we used following custom Buildroot repository to solve Qt related issues:

It seems that there is a newer solution, you should try it first:


#3

Thanks you, I will try it in a short time.


#4

I tried second one. It is working very well.

With default config, buildroot toolchain is selected. You should select external toolchain (Linaro ) then I got only one error about ncurses. Now I can play music with Qt (QMediaPlayer) :slight_smile: Thanks you.

FİX :

CHANGE THIS FILE : ncurses/base/MKlib_gen.sh

reprocessor="$1 -DNCURSES_INTERNALS -I…/include"
change with
preprocessor="$1 -P -DNCURSES_INTERNALS -I…/include"