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

Can IOS executable play audio files in qrc yet



  • I see a number of forums posts about excluding sound files from the QRC when building for IOS. However, most of these posts are 5+ years old...and I can't find anything on the Qt website about this.

    (Maybe I missed it) - but, can IOS now play audio files held in a QRC file?


  • Lifetime Qt Champion

    Hi,

    Good question, the easiest would be to try.

    If still not, you have two options:

    1. make them part of your bundle
    2. copy the file from the resources to a temporary path and play them from there.

Log in to reply