Setting the Windows taskbar icon in PyQt

前端 未结 4 1790
小鲜肉
小鲜肉 2020-12-09 08:10

I\'m working on an applcation in Python\'s PyQt4 and cannot find how to change the taskbar icon. I made my .ui files in Qt\'s Designer, where I can change the windowIc

4条回答
  •  天涯浪人
    2020-12-09 08:42

    This problem is caused by some peculiarities in how taskbar icons are handled on the Windows platform.

    See this answer for details, along with a workaround using ctypes.

提交回复
热议问题