Icons installed by apps
Jaroslaw Staniek
staniek at kde.org
Tue Sep 22 16:44:47 UTC 2015
On 22 September 2015 at 14:17, Jaroslaw Staniek <staniek at kde.org> wrote:
> Hello,
> A couple of related questions while wrestling with issues such as [1].
>
> Let's assume Kexi app installs some icons to
> PREFIX/share/kexi/icons/oxygen/32x32/places/ or
> PREFIX/share/kexi/icons/breeze/32x32/places.
> Can these be searched by the icon engine?
Sorry for adding more info to clarify.
UserIconSet is deprecated so I guess this functionality is deprecated too...
since QIcon::fromTheme() apaprently isn't able to find app icons.
I've seen quite a few KDE apps compiling-in their (usually custom
action) icons into qrc instead.
I've not seen other app that do what Calligra apps do:
using icons fron share/calligra/icons (in kdelibs4 times
share/apps/calligra/icons).
Comments?
> In kdelibs4 times PREFIX/share/apps/kexi/icons/oxygen/ was searched at
> least and icons were used if names were globally unique (overriding
> mimetype icons did not work).
>
> Now in kf5 times I guess I shouldn't install to
> PREFIX/share/icons/breeze? I do not feel safe with this. I don't even
> know if it's breeze/ subdir or some other name is guaranteed to exist
> on a kf5 installation. However if I have guarantees, I am fine with
> any solution.
>
> Next thing is, when I installed .svg icons to
> PREFIX/share/icons/breeze - they are found and used, but .svgz are not
> found.
>
> I debugged using strace, are there any magic env variables that let me
> debug the search process deeply on app startup? Or the icon cache?
> Maybe I forgot what's that.
>
> Are these things noted down somewhere already?
> I am especially interested in place and mimetype and places icons
> installed by apps.
>
> [1] https://bugs.kde.org/show_bug.cgi?id=352891
>
> --
> regards, Jaroslaw Staniek
>
> KDE:
> : A world-wide network of software engineers, artists, writers, translators
> : and facilitators committed to Free Software development - http://kde.org
> Calligra Suite:
> : A graphic art and office suite - http://calligra.org
> Kexi:
> : A visual database apps builder - http://calligra.org/kexi
> Qt Certified Specialist:
> : http://www.linkedin.com/in/jstaniek
--
regards, Jaroslaw Staniek
KDE:
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - http://kde.org
Calligra Suite:
: A graphic art and office suite - http://calligra.org
Kexi:
: A visual database apps builder - http://calligra.org/kexi
Qt Certified Specialist:
: http://www.linkedin.com/in/jstaniek
More information about the Kde-frameworks-devel
mailing list