[Interest] Platform dependent *.qrc entries
Thiago Macieira
thiago.macieira at intel.com
Wed Jan 4 15:16:59 CET 2017
On quarta-feira, 4 de janeiro de 2017 06:13:33 BRST Rainer Wiesenfarth wrote:
> 2017-01-03 23:50 GMT+01:00 Thiago Macieira <thiago.macieira at intel.com>:
> > On terça-feira, 3 de janeiro de 2017 21:31:52 BRST Bernhard B wrote:
> > RESOURCES += common.qrc
> > android: RESOURCES += android.qrc
> > ios: RESOURCES += ios.qrc
>
> Probably as this does not make it obvious for a developer that she has to
> add a version of a platform dependent resource to _all_ platform resource
> files?
Ok, then create a resource pre-compiler. Write your own script that assembles
a .qrc file from whichever sources you want, then produces the .qrc file. Add
this precompiler as a qmake extra compiler whose output is the RESOURCES
variable.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list