[Interest] creating a binary .rcc version of a series of Freedesktop icon themes linked through inheritance
elvstone at gmail.com
Sun Jun 25 10:04:09 CEST 2017
2017-06-21 11:18 GMT+02:00 René J.V. Bertin <rjvbertin at gmail.com>:
> I'd like to create a single binary .rcc resource from a total of 4 Freedesktop icon themes that are linked through inheritance.
> Merging the actual directories is straightforward, but creating a merged index.theme file isn't .
> Does anyone know of a tool to assist in that part of the merge or is there rcc functionality I'm overlooking that allows a .rcc file to declare a dependency on another .rcc file, such that the application needs only register that single "toplevel" rcc file?
Even after reading your other mails, I'm not 100% sure I understand
what you want to do.
Say you have
perhaps with inheritances icontheme4 -> icontheme3 -> icontheme2 -> icontheme1.
Then shouldn't you be able to just generate something like:
I.e. putting the iconthemes side by side in :/icons in the RCC namespace.
If the application then QIcon::setThemeName("icontheme4"), I think it
should just work? Why do you need to merge the index.theme files?
I'm most probably missing some aspect here, but if you now correct me,
it will hopefully help us understand :)
> Interest mailing list
> Interest at qt-project.org
More information about the Interest