ecm_add_app_icon() does not work as expected on Windows

Hannah von Reth hannah at
Sun Dec 15 17:28:48 GMT 2019


Sent from my iPhone

> On 15. Dec 2019, at 16:31, Alexander Potashev <aspotashev at> wrote:
> ´╗┐Hi,
> I'm trying to make ktimetracker.exe to show its icon on Windows.
> However ecm_add_app_icon() does not work for me for some reason.
> If I build Kate from Git master (craft -i --target master kate),
> kate.exe has no icon (it has some standard icon when browsing in
> explorer.exe) and kwrite.exe has an icon. Kate build dir contains
> kate/ICONS_SOURCES.{APS,ico,rc,}, where .APS and .ico are about
> 98 KB in size. When building KTimeTracker or Kate, icotool is found by
> CMake, png2ico not found.
> A Kate package build from from couple
> of days ago installs a good kate.exe with an embedded icon.
> Might be a problem with either MSVC 2019 on my side or something else.
> But how do I debug it?
> -- 
> Alexander Potashev

More information about the Kde-windows mailing list