androidc++qtrccqt-resource

Large Qt external binary resource file


I want to use a Qt external resource file as an expansion file for my Android app. The total size of the resource to be bundled in the resource file is 700+ MB. I have experienced that the resource compiler (rcc) can not handle more than about 500MB before it hangs and crash on my computer. I would really want to make on big file as this makes it a lot easier when uploading expansion files for Android.

I run the rcc tool from the commandline with the following arguments:

rcc -binary -no-compression myQrcFile.qrc -o myOutputFile

I need to use no compression to be able to play video files bundled in the resource file directly, but this is not a problem here.

I have two questions, but the first one is the primary one:

  1. Is there some way to bundle files with a total file size of more than 500MB in one file?
  2. Does the size of an external Qt resource file have an impact on the performance of the application? Larger file = slow load or similar?

Solution

  • I used MinGW which is a 32-bit compiler. I changed to MSVC 64-bit compiler and I could create large external resource files.