Add big resources to exe without External Binary Resources in VS2019
-
Hi, I want to add some file with total size of 20MB to my project in Qt in VS2019
but every time I try to build project (with 20MB of Qt resource) its give mecompiler is out of heap space
error, I know I can use External Binary Resources in my project but I want to keep all program needed file inside of exe
how can i fix this error?
I found some information about addingCONFIG += resources_big
to pro file for fix this error but because I use Qt in visual studio I don't know how can I use it
thanks -
@saeid0034
another way around this is by splitting up your qrc files to smaller junks (=containing fewer entries by qrc file). -
@raven-worx thank you, I split my file between 5 qrc file with maximum size of 4MB and now its working
but just one other thing, there is anyway to compress file in resource better? I mean when I just compress my files its size goes from 20 to 7MB, but when I put in my program size of my program goes from 11 to 33 -
-
@raven-worx as I said I use qt in visual studio
I check resource document and change both setting in visual studio and qrc itself, but size doesn't change at all
is there any problem in above config?