Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How can I fix the problem about QMediaPlayer when used on ARM



  • My Project need to play some audio file and control the voice,so I use QMediaPlayer to do that. But when it ran on ARM,it show "defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer" and there is not any voice.
    I found some blogs about this problem that they compiled the qtmultimedia-opensource to replace the old one,is that right? Also I compared the plugin of mediaplayer between PC(Linux) and ARM, I found that ARM just has

    libqtmedia_audioengine.so
    

    and PC has

    libgstaudiodecoder.so  libgstcamerabin.so  libgstmediacapture.so  libgstmediaplayer.so
    

    So I need some help to understand it. Thank you~


  • Lifetime Qt Champion

    Hi,

    What version of Qt do you have on your desktop machine ?
    What version of Qt do you have on your target ?
    How did you install both of them ?


Log in to reply