Re: [Interest] Very large QRC file

2016-03-25 Thread André Pönitz
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

Re: [Interest] Very large QRC file

2016-03-23 Thread Thiago Macieira
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}

Re: [Interest] Very large QRC file

2016-03-23 Thread Hamish Moffatt
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

Re: [Interest] Very large QRC file

2016-03-23 Thread Scott Aron Bloom
-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

Re: [Interest] Very large QRC file

2016-03-23 Thread Jason H
> 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

Re: [Interest] Very large QRC file

2016-03-23 Thread Thiago Macieira
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

Re: [Interest] Very large QRC file

2016-03-23 Thread André Pönitz
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

Re: [Interest] Very large QRC file

2016-03-23 Thread Konstantin Tokarev
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

Re: [Interest] Very large QRC file

2016-03-23 Thread Jason H
> > 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

Re: [Interest] Very large QRC file

2016-03-23 Thread Sean Harmer
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: > > > >

Re: [Interest] Very large QRC file

2016-03-23 Thread Jason H
> 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

Re: [Interest] Very large QRC file

2016-03-23 Thread Jason H
> 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

Re: [Interest] Very large QRC file

2016-03-23 Thread André Somers
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

Re: [Interest] Very large QRC file

2016-03-23 Thread Sean Harmer
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

Re: [Interest] Very large QRC file

2016-03-23 Thread 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 costs involved with decompressing the data especially for already

Re: [Interest] Very large QRC file

2016-03-23 Thread Konstantin Tokarev
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"

Re: [Interest] Very large QRC file

2016-03-23 Thread Sean Harmer
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

Re: [Interest] Very large QRC file

2016-03-23 Thread Gian Maxera
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

Re: [Interest] Very large QRC file

2016-03-23 Thread Jason H
; > 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 ? > >

Re: [Interest] Very large QRC file

2016-03-23 Thread Konstantin Tokarev
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

Re: [Interest] Very large QRC file

2016-03-23 Thread Gian Maxera
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

[Interest] Very large QRC file

2016-03-23 Thread 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 spend a lot of time swapping. Everytime I compile it takes