android - Large Qt external binary resource file -


i want use qt external resource file expansion file android app. total size of resource bundled in resource file 700+ mb. have experienced resource compiler (rcc) can not handle more 500mb before hangs , crash on computer. want make on big file makes lot easier when uploading expansion files android.

i run rcc tool commandline following arguments:

rcc -binary -no-compression myqrcfile.qrc -o myoutputfile 

i need use no compression able play video files bundled in resource file directly, not problem here.

i have 2 questions, first 1 primary one:

  1. is there way bundle files total file size of more 500mb in one file?
  2. does size of external qt resource file have impact on performance of application? larger file = slow load or similar?

for creating smaller resource data, may try change compression (s, -compress)

for faster loading, there seems 2 possibilities embedd resources in qt.

unless specify explicitly create resources-data external library, resource data embedded in executable , loaded @ application start (make sense app-icons, fonts, etc)

if compile data -binary option

rcc -binary myresource.qrc -o myresource.rcc 

you'll build data dynamic library, may load @ later point application-start call

qresource::registerresource("/path/to/myresource.rcc"); 

here similar quistion on so, focused on dynamic loading of resources, no on size: how can embed qt resource .dll file?

these links should helpful:


Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -