[Qt-interest] Accessing the rcc options from within a .pro file

Berry Octave octave at octavious.servegame.org
Tue Jun 2 18:17:15 CEST 2009


Le Tuesday 02 June 2009 17:45:17 Mike Inman, vous avez écrit :
> Hi,
>
> I have got a resource file compiled into my Qt app in which I'd like to
> take a little more control of the RCC options like -threshold and
> -compress.  I also would like to specify these options in the .pro file
> so I'm not manually running RCC for my builds.
>
> Is this possible?
>
> Thanks,
>
> Mike
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest


Hi Mike,

This is possible using this kind of statements in your .pro

QMAKE_RESOURCE_FLAGS += -threshold 0 -compress 9





More information about the Qt-interest-old mailing list