[Interest] creating a binary .rcc version of a series of Freedesktop icon themes linked through inheritance

Thiago Macieira thiago.macieira at intel.com
Wed Jun 21 21:04:54 CEST 2017


On Wednesday, 21 June 2017 11:36:08 PDT René J. V. Bertin wrote:
> Thiago Macieira wrote:
> > You don't need rcc files inheriting from each other. Just link more than
> > one into your application. They just have to use different file paths.
> But then you have to register each one individually with
> QResource::registerResource(), no?

If you compile them with qrc, then they register themselves. Another option is 
to link them together into a single .so that you can load via QLibrary or 
QPluginLoader.

If you're supplying external files, then you need to load each one 
independently.

> To be more explicit: I'm looking for a solution that'll work with the rcc
> icon theme support built into the KF5 KIconThemes framework.
> (https://cgit.kde.org/kiconthemes.git/tree/src/kicontheme.cpp#n48)

Sorry, I don't know the API.

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




More information about the Interest mailing list