Gtk+ icon missing when running in MS Windows

后端 未结 2 1698
时光取名叫无心
时光取名叫无心 2021-02-06 08:27

I have a C/GTK+ application developed on Ubuntu, and I want to cross-compile it so that it runs on MS Windows.

I followed this guide to set up the compiler, and the prog

2条回答
  •  攒了一身酷
    2021-02-06 09:06

    As a workaround I have converted the icons from svg to png, then placing them in share/icons. The icons now show up, though there is a minor problem: when the search entry is empty, an additional magnifying glass icon will shop up on the right.

    enter image description here

    The additional magnifying glass will be replaced by the "clear" icon when there is text in the entry, so I do not consider this that much of a problem... (Although admittedly it looks quite weird...)

    As this is only a workaround and not a perfect solution, I will not mark this as accepted answer. I think the problem may be related to how the svg files are displayed, but I have all the DLLs from here so I don't really understand what the problem is.

提交回复
热议问题