Op 23/03/2016 om 16:57 schreef Jason H:
Not sure. This is an app for a tablet, I've always packaged assets in qrc, because it 
"just worked". I could try DISTFILES, but I'm unsure how that work on mobile 
platforms.
Please don't. Don't fill your users' devices with assets they are not going to use, like video or audio for different languages. It doesn't scale. Instead, get the right contents for your application on demand when first requested, so you only store on the users device what the user actually needs.

André



Sent: Wednesday, March 23, 2016 at 11:41 AM
From: "Gian Maxera" <gmax...@gmail.com>
To: "Jason H" <jh...@gmx.com>
Cc: "interest@qt-project.org Interest" <interest@qt-project.org>
Subject: Re: [Interest] Very large QRC file

My absolute rule is Never Never put big files into qrc file.
Can you avoid it too ?

On 23 Mar 2016, at 15:39, Jason H <jh...@gmx.com> wrote:

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?
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to