There's no proper replacement for KIcon

Eike Hein hein at kde.org
Thu Sep 11 15:05:43 UTC 2014



On 11.09.2014 16:09, Kevin Krammer wrote:
> Why would hicolor be distro/ISV specific?

Because a hicolor theme everyone likes visually isn't going
to happen. People will want to modify what's in that fall-
back for theming reasons, and distros theme to differentiate
themselves.

In the "hicolor as fallback" scheme, there are two ways to
affect what icons actually show in KF5 apps outside Plasma:

- Make sure this environment outside Plasma, whatever it is,
   has a Qt platform plugin available that reads some setting
   somewhere that overrides hicolor by specifying a theme.

   (This is how Plasma itself solves this.)

- Manipulate what icons are actually in hicolor.

If we introduce a "preferred system fallback theme" config
option in the spec that overrides hicolor, and make Qt aware
of it, that avoids either work, which is more extensible to
new environments.


> Cheers,
> Kevin

Cheers,
Eike


More information about the Kde-frameworks-devel mailing list