Hi, thanks a lot for all the great suggestions. I like the idea of having platform specific resource files (android.qrc, ios.qrc). I don't know why I didn't thought about that in the first place, but it's actually a really nice idea. I think I will try that one first.
Thanks all for your help, really appreciated! Have a nice day, Bernhard 2017-01-04 15:16 GMT+01:00 Thiago Macieira <thiago.macie...@intel.com>: > 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.macie...@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 > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest