Compile qrc to rcc in Creator
-
Hi,
I think I'm having brain fade at the moment, but can someone show me a simple .pro file that takes a single qrc file and creates an rcc from it? I don't want to build it into a DLL or an app, simply a binary set of resources that we can load at run time.
Thanks,
Steve -
You do not need a .pro file. Just call the rcc from the command line:
@
rcc -binary myresource.qrc -o myresource.rcc
@ -
I just thought it would be cleaner to have it in its own .pro as for our scenario it's a serperate buildable component. I guess I'll go with the command line.
Thanks
-
You might be able to do something using "this":http://doc.qt.nokia.com/latest/qmake-environment-reference.html#customizing