[Interest] Platform dependent *.qrc entries
Rainer Wiesenfarth
rainer_wiesenfarth at trimble.com
Wed Jan 4 06:13:33 CET 2017
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:
> > 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
>
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?
--
Software Engineer | Trimble Imaging Division
Rotebühlstraße 81 | 70178 Stuttgart | Germany
Office +49 711 22881 0 | Fax +49 711 22881 11
http://www.trimble.com/imaging/ | http://www.inpho.de/
Trimble Germany GmbH, Am Prime Parc 11, 65479 Raunheim
Eingetragen beim Amtsgericht Darmstadt unter HRB 83893,
Geschäftsführer: Dr. Frank Heimberg, Jürgen Kesper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170104/c548b9cf/attachment.html>
More information about the Interest
mailing list