How about passing the data from C++ to QML using the QmlEngine rootcontext(). You can look at here [qt-project.org]
I have not tried with MediaPlayer class. C++ and QML interaction is very much feasible.
↧