开发者

.png files in .rc (resource file)

开发者 https://www.devze.com 2023-02-19 16:45 出处:网络
I use .png files inside my Qt application, but to make ico for .exe file, i need use .ico, IDI_ICON1开发者_开发百科ICONDISCARDABLE\"app.ico\"

I use .png files inside my Qt application, but to make ico for .exe file, i need use .ico,

IDI_ICON1               开发者_开发百科ICON    DISCARDABLE     "app.ico"

can I put app.png instead of app.ico?


I think that you can't. I took a quick glance over the Qt documentation regarding application icon's and it seems that for Windows you must use .ico filetype.

0

精彩评论

暂无评论...
验证码 换一张
取 消