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

Standard file accesses within Qt framework



  • Using Qt to create android apps requires to use assets:/ word to do copy of files or use sound files...buit if I use the same project on bb of course I have problems everywhere assets was used....
    Maybe on ios you have to use another word....
    So is there a way to have a more suitable and standard code to avoid noise conditional code???


  • Moderators

    You can use Qt resource system (QRC files) instead: that solution is 100% cross-platform: it works the same way on all of them. Files put in QRC are read-only, though.



  • I have already tried to use sound file into resources without success...that could be a good solution if it works, but on ios I don't know if it works too


Log in to reply