How to set application's taskbar icon in Windows 7

后端 未结 3 1330
花落未央
花落未央 2020-11-28 22:58

How do I set an application\'s taskbar icon in PyQt4?

I have tried setWindowIcon, and it successfully sets the icon in the top-left of the main window, but it does n

3条回答
  •  一个人的身影
    2020-11-28 23:36

    You must set the AppUserModelID before your app shows any GUI. If you need to access other Windows 7 features you can have a look at Q7Goodies which is a Qt add-on for Windows 7 with a PyQt bindings.

提交回复
热议问题