[Qt-qml] Tool to pack / minify content of QML files ?
Adriano Rezende
adriano.rezende at openbossa.org
Wed Jan 5 15:41:39 CET 2011
On Mon, Jan 3, 2011 at 6:37 AM, Gregory Schlomoff
<gregory.schlomoff at gmail.com> wrote:
>>Why not do the compression once when you do the final build of your app?
>
> This is an option, indeed, but it is critical for us to have a
> one-command build step. We don't want to have to remember to run such
> a tool before each release build. So we would need a tool that
> integrates into the qmake build process, and after looking quickly at
> the problem, it became apparent that we would have to do things like
> parsing the .qrc file, etc... Which is why we thought it belonged to
> rcc.
In my opnion rcc should be agnostic regarding qml file types.
You can use PRE_TARGETDEPS var in your .pro file to pre-process the
qml files before the resource is generated.
Br,
Adriano
More information about the Qt-qml
mailing list