[Interest] Platform dependent *.qrc entries

Thiago Macieira thiago.macieira at intel.com
Tue Jan 3 23:50:36 CET 2017


On terça-feira, 3 de janeiro de 2017 21:31:52 BRST Bernhard B wrote:
> android{
>     RESOURCES += android.qrc
> }
> 
> ios{
>    RESOURCES += ios.qrc
> }
> 
> But as most of the resources are shared between all targets, keeping those
> resource files in sync is really difficult. Is there a possibility to use
> just one *.qrc file and  specify platform dependent entries in a different
> way?

Why don't you use three resources?

RESOURCES += common.qrc
android: RESOURCES += android.qrc
ios: RESOURCES += ios.qrc

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list