> You can use PRE_TARGETDEPS var in your .pro file to pre-process the > qml files before the resource is generated.
I was looking for something like that, but haven't found how I can use PRE_TARGETDEPS. The doc says only: "All libraries that the target depends on can be listed in this variable." But QML files aren't libraries, are they? Would you have a small example to show how I can use this variable in a .pro file to pre-process .qml files with an external tool? Thanks, Greg On Wed, Jan 5, 2011 at 9:41 PM, Adriano Rezende <[email protected]> wrote: > On Mon, Jan 3, 2011 at 6:37 AM, Gregory Schlomoff > <[email protected]> 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 > _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
