[Qt-interest] How to apply app icon on Windows 7?

程梁 chengliang.soft at gmail.com
Mon Nov 29 14:10:58 CET 2010


Thank you. But I do add the rc file and the icon is displayed. The
problem is the icon looks like zoom in a small size, not use the
bigger one.

发自我的 iPad

在 2010-11-29,20:42,Alessandro Portale <alessandro.portale at nokia.com> 写到:

> I am not familiar with Windows 7 and that special task bar. But could it
> be that the runtime window icon will be shown there?
>
> You may try to set a 48px or 256px icon and see if it gets better:
>  http://doc.qt.nokia.com/latest/qapplication.html#windowIcon-prop
>  http://doc.qt.nokia.com/latest/qwidget.html#windowIconText-prop
>
> Alessandro
>
> On 11/29/2010 12:57 PM, ext 程梁 wrote:
>> Yes, that's true. You can add more than one formats into one icon
>> file. Everything is OK, only the app icon on super task bar is blur.
>> On XP or some other OS, the task bar icon is smaller than Windows 7.
>> The problem I found is only on Windows 7.
>>
>> 发自我的 iPad
>>
>> 在 2010-11-29,16:10,Andre Somers<andre at familiesomers.nl>  写到:
>>
>>> Op 29-11-2010 5:48, 程梁 schreef:
>>>> I wonder how to apply application icon on Windows 7?
>>>>
>>>> I added an icon file in the .rc file which has 16*16, 32*32, 48*48,
>>>> 256*256 four formats just like QtCreator's.
>>>> But when I compile my application, the icon on task bar is blur, not
>>>> as clear as QtCreator's. It looks
>>>> like Windows 7 choose 16*16 format and resize it to display. Could
>>>> anybody tell me how to apply
>>>> this application icon correctly on Windows 7?
>>>>
>>> Personally, I include *one* .ico file that contains the different
>>> formats itself. That seems to work for me, but I must admit that I did
>>> not try it on windows 7.
>>>
>>> André
>>> _______________________________________________
>>> Qt-interest mailing list
>>> Qt-interest at trolltech.com
>>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list