Compile qrc to rcc in Creator
Qt Creator and other tools
4
Posts
2
Posters
5.3k
Views
1
Watching
-
wrote on 2 Aug 2011, 08:30 last edited by
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 -
wrote on 2 Aug 2011, 08:37 last edited by
You do not need a .pro file. Just call the rcc from the command line:
@
rcc -binary myresource.qrc -o myresource.rcc
@ -
wrote on 2 Aug 2011, 09:46 last edited by
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
-
wrote on 2 Aug 2011, 12:45 last edited by
You might be able to do something using "this":http://doc.qt.nokia.com/latest/qmake-environment-reference.html#customizing
4/4