Results 1 to 3 of 3

Thread: Rendering of Application icon / Antialiasing

  1. #1
    Join Date
    Jan 2008
    Posts
    56
    Thanks
    7
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Rendering of Application icon / Antialiasing

    Hi all,

    I have customized my application icon in Windows Vista using a .rc file as described here
    I noticed that the icon in the Qt app is rendered worse than in the explorer.
    Please have a look at the attached small image. The left icon is rendered in my app, the right one in a filebrowser (TotalCommander in this case, but the windows explorer does the same).
    The right one looks exactly the same as the .ico file viewed in IrfanView, e.g.
    The left one is somehow modified.

    Is there a way to control the rendering of the icon?
    Attached Images Attached Images

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Rendering of Application icon / Antialiasing

    One thing is an application icon (the one you see in Explorer), the other thing is a window icon (the one you see in the upper left corner of the window). The first one is controlled by the RC file, the other by QWidget::setWindowIcon().
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jan 2008
    Posts
    56
    Thanks
    7
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Rendering of Application icon / Antialiasing

    Thanks Wysota for your explanation.

    The two icons stem from the same ".ico" file. So somehow the rendering seems to be different. Any idea where that happens and if there is a tweek to change it?

    Best regerds,

    Rainer

Similar Threads

  1. Replies: 8
    Last Post: 7th November 2012, 19:20
  2. Application icon - Qt S60
    By ppaluch in forum Qt for Embedded and Mobile
    Replies: 5
    Last Post: 23rd November 2010, 11:17
  3. How to set the application icon in Linux?
    By live_07 in forum Newbie
    Replies: 11
    Last Post: 24th September 2010, 09:39
  4. Replies: 1
    Last Post: 19th November 2007, 01:34
  5. Mac application and the Dock Icon
    By sekelsenmat in forum Qt Programming
    Replies: 3
    Last Post: 26th September 2007, 10:23

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.