icons in filelight on windows

Julius Künzel julius.kuenzel at kde.org
Sun Jun 23 09:11:05 BST 2024


Hi,

it sounds as if reading this article would be the answer to your problem: https://cullmann.io/posts/kde-applications-and-icons/ at the end of the article there are some code examples.

See also eg. https://invent.kde.org/utilities/kate/-/commit/a74a2657c7fb642c4062afb50a2c7920da315eca

I hope this helps!
Julius

22.06.2024 00:18:57 Harald Sitter <sitter at kde.org>:

> Servas!
> 
> Icons in filelight on windows are partially broken and I am not quite
> sure why. What appears to happen is that the breeze icons are inside
> the qresource system but don't get used by kirigami components because
> they want to look in breeze-internal (which isn't actually resolving
> through kiconthemes and as far as I can tell not in :/icons/* which is
> probably why it fails to resolve). So then kiconthemes goes "yo, this
> be missing, let's try fallback" except the fallback apparently is
> hicolor and doesn't exist because we are on windows but it exists in
> the qrc why that doesn't work is anyone's guess though.
> 
> [7244] kf.iconthemes: Icon theme "breeze-internal" not found.
> [7244] kf.iconthemes: Couldn't find current icon theme, falling back to default.
> [7244] kf.iconthemes: Standard icon theme "hicolor" not found!
> 
> As ever I also don't know why filelight was ported to qt6 without
> review by anyone. It's been a broken mess ever since, preventing me
> from making a new release to the windows store.
> 
> Everything is sad and I don't know what to do about it. Please help! :((


More information about the kde-devel mailing list