[Interest] Very large QRC file

Konstantin Tokarev annulen at yandex.ru
Wed Mar 23 16:44:27 CET 2016



23.03.2016, 18:39, "Jason H" <jhihn at gmx.com>:
> I have a qrc devoted to media: audio and video. It's only about 100 megs total of both (2 videos and several languages for each). It results in about a 500MB cpp file. It takes 8 gigs to compile, which is what my hardware ram is, so I spend a lot of time swapping.
>
> Everytime I compile it takes 10 minutes to compile the assets.qrc, even though it doesn't change. Is there a way that I can get the build system to be more intelligent about building it?

Build it as binary .rcc file

rcc -binary assets.qrc -o assets.rcc

After that use QResource to load it.

-- 
Regards,
Konstantin



More information about the Interest mailing list