How to create Android expansion files to be use with Qt on Android



  • I am currently developing an Android app using Qt / QML and my app will be a lot larger than the 50 MB Google Play Store limit due to media files that are to be bundled, so I have to use extension files. After some searching I found on a page a line saying that Qt resource system can help make .obb extension files:

    "For large resources that do not fit into the Google Play store 50 MB limit, qrc can generate rcc files that can be put in obb"

    but I can not find any information on how to do this or how to access those files from my code.

    So far I have made an .rcc file using Qt. Now I have to use the JOBB tool, but not sure how to. The final question is how to access the files I bundled in the .rcc file.

    I was also thinking that I could just upload the .rcc file directly as Google Play accepts any file format for expansion files, but then I would not be able to get it encrypted.. but how could I access the .rcc file? Do I have to write some Java code or could I get it to work from Qt C++/QML?



Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.