ecm_add_app_icon() does not work as expected on Windows

Alexander Potashev aspotashev at gmail.com
Sun Dec 15 18:20:17 GMT 2019


вс, 15 дек. 2019 г. в 20:29, Hannah von Reth <hannah at von-reth.de>:
>
> Fixed
>
> Sent from my iPhone
>
> > On 15. Dec 2019, at 16:31, Alexander Potashev <aspotashev at gmail.com> 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,rc.in}, 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 http://binary-factory.kde.org/ 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?

Hi Hannah,

Thanks for fixing my bug reports from bugs.kde.org!

However my problem with ecm_add_app_icon() did not go away, it's
probably unrelated. I attach a screenshot of what Kate and KWrite
icons look like after a fresh rebuild with "craft -i --target master
kate".

-- 
Alexander Potashev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_20191215_211429.png
Type: image/png
Size: 19938 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-windows/attachments/20191215/d9b2f003/attachment-0001.png>


More information about the Kde-windows mailing list