On Wed, Mar 23, 2016 at 09:49:41PM +, Scott Aron Bloom wrote:
> >
> > CONFIG += resources_big
>
>
> Nice. Since 5.4. Never knew. "Just works". Thanks!
>
>
> What does this flag do?
It replaces the creation of a big .cpp with a char[] containing the data
by two passes, first
On quarta-feira, 23 de março de 2016 21:49:41 PDT Scott Aron Bloom wrote:
> What does this flag do? Is there an equivalent flag for CMake???
It makes rcc operate in a two-pass mode. Without it, resource compilation is:
$$QMAKE_RCC $$QMAKE_RESOURCE_FLAGS ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
On 24/03/16 07:23, Thiago Macieira wrote:
On quarta-feira, 23 de março de 2016 16:39:02 EDT Jason H 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
-Original Message-
From: Interest [mailto:interest-bounces+scott=towel42@qt-project.org] On
Behalf Of Jason H
Sent: Wednesday, March 23, 2016 2:41 PM
To: Thiago Macieira
Cc: interest@qt-project.org
Subject: Re: [Interest] Very large QRC file
> Sent: Wednesday, March 23, 2016 a
> Sent: Wednesday, March 23, 2016 at 4:23 PM
> From: "Thiago Macieira" <thiago.macie...@intel.com>
> To: interest@qt-project.org
> Subject: Re: [Interest] Very large QRC file
>
> On quarta-feira, 23 de março de 2016 16:39:02 EDT Jason H wrote:
> > I have
On quarta-feira, 23 de março de 2016 16:39:02 EDT Jason H 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
On Wed, Mar 23, 2016 at 04:39:02PM +0100, Jason H 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
23.03.2016, 19:11, "André Somers" :
> Op 23/03/2016 om 17:04 schreef Konstantin Tokarev:
>> 23.03.2016, 19:03, "Sean Harmer" :
>>> On Wednesday 23 March 2016 16:57:04 Jason H wrote:
>>> Notice the -no-compress option too this can save runtime CPu
>
> mac {
> asset_builder.output =
> $$OUT_PWD/VideoPlayerHIV.app/Contents/MacOs/${QMAKE_FILE_IN_BASE}.qrb
> } else {
> asset_builder.output = $$OUT_PWD/${QMAKE_FILE_IN_BASE}.qrb
> }
>
> Or similar.
Most excellent. Thank you.
___
Interest
On Wednesday 23 March 2016 17:28:21 Jason H wrote:
> > Notice the -no-compress option too this can save runtime CPu costs
> > involved
> > with decompressing the data especially for already compressed formats such
> > as most video codecs.
> >
> > Then in your c++ source add:
> >
> >
> 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
> Notice the -no-compress option too this can save runtime CPu costs involved
> with decompressing the data especially for already compressed formats such as
> most video codecs.
>
> Then in your c++ source add:
>
> QResource::registerResource("mybigmedia.qrb");
>
> and use it just like any
rom: "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 i
On Wednesday 23 March 2016 17:10:35 André Somers wrote:
> Op 23/03/2016 om 17:04 schreef Konstantin Tokarev:
> > 23.03.2016, 19:03, "Sean Harmer" :
> >> On Wednesday 23 March 2016 16:57:04 Jason H wrote:
> >> Notice the -no-compress option too this can save runtime CPu costs
Op 23/03/2016 om 17:04 schreef Konstantin Tokarev:
23.03.2016, 19:03, "Sean Harmer" :
On Wednesday 23 March 2016 16:57:04 Jason H wrote:
Notice the -no-compress option too this can save runtime CPu costs
involved with decompressing the data especially for already
ure how that
>> work on mobile platforms.
>> > 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"
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
> >
> &g
st worked". I could try DISTFILES, but I'm unsure how that work
> on mobile platforms.
>
>
>> Sent: Wednesday, March 23, 2016 at 11:41 AM
>> From: "Gian Maxera" <gmax...@gmail.com>
>> To: "Jason H" <jh...@gmx.com>
>> Cc: "interest
;
> 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 ?
>
>
23.03.2016, 18:39, "Jason H" :
> 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
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 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
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
22 matches
Mail list logo