[Qt-interest] Bundling large files in a resource file

Constantin Makshin cmakshin at gmail.com
Tue May 18 00:44:53 CEST 2010


I wouldn't recommend embedding such large files into application's executable file. Not only it's very likely to cause compilation problems, but also having a 60MB executable is a bad idea (IMHO).

Why don't you want to keep your archive as a separate file?

On Tuesday 18 May 2010 02:17:52 Garth Dahlstrom wrote:
> Dear List, 
> 
> I'm trying to bundle a rather large zip file (~60MB) inside my executable, however I've hit a problem with cc1plus.exe maxing out memory allocation at about 1GB (the machine has Win64 8GB ram, the cc1plus.exe process never gets above 1.3GB of ram, so this appears to be a programatic limit in GCC).  
> 
> I'm wondering if others have hit this type of problem and what they've used to solve it (can RCC+GCC be made to work)?    Also googled and saw some mention of ICU package libraries and of boost in relation to resource files too...
> 
> Curiously,
> 
> -G



More information about the Qt-interest-old mailing list