Standard file accesses within Qt framework
-
wrote on 12 Mar 2014, 20:11 last edited by
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??? -
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.
-
wrote on 13 Mar 2014, 09:09 last edited by
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
1/3