PDA

View Full Version : Do resources in QRC files consume memory?



TheNewGuy
7th December 2009, 03:57
I am writing an application that will have many images in it. Probably 15MB or so. I know it will make the executable large. However, will it consume more RAM?

I do not know the mechanism of resource files. I assume binaries have areas for data and that is where files are stored. So, instead of loading it in memory the program just parses it out of its own binary file. Is this correct or does it actually load it in memory?

squidge
7th December 2009, 09:07
I believe the current version of Qt stores all resources directly in the executable via standard C arrays, regardless of whether the host OS supports native resources or not.