Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Icon for program becomes blurry

    General and Desktop
    2
    6
    2119
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Denjas
      Denjas last edited by

      Hi. I followed this guide: http://doc.qt.io/qt-5/appicon.html for setting up an icon for my program. The .ico file itself looks correct as shown when the file is on the desktop, but after building my program and moving it to the desktop, the icon is very blurred compared to, and it looks like it has been stretched. On the other hand, it looks fine if I change the desktop icon size to either small or big, the problem is only there when medium (default) size is selected.

      Does anyone got idea of what could be wrong here?

      1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by

        Hi
        Did you make your icon 256x256 ?
        https://www.wikihow.com/Create-a-Windows-Icon

        Also is it multi resolution ?
        https://www.howtogeek.com/65291/how-to-make-your-own-custom-windows-7-icons-out-of-any-image/

        Normally its the icon :)

        Denjas 1 Reply Last reply Reply Quote 0
        • Denjas
          Denjas @mrjj last edited by

          @mrjj Yes I made the icon in IcoFX with a size of 256x256 and saved it as an .ico file.
          On the desktop, the .ico file shows perfectly sharp as the way I created it, and I opened it in Visual Studio in it's .ico editor and saw all the different sizes were there, in sharp quality too. But with my program it is not the same quality, which can easily be seen when I place it next to the original .ico file.

          mrjj 1 Reply Last reply Reply Quote 0
          • mrjj
            mrjj Lifetime Qt Champion @Denjas last edited by

            @Denjas
            Hmm it sounds in order then.
            I cant think of anything else

            -But with my program it is not the same quality
            Where do you see this ? im not sure in where its ugly.

            what Qt and what platform are you on ?

            Denjas 1 Reply Last reply Reply Quote 0
            • Denjas
              Denjas @mrjj last edited by

              @mrjj I'm on Windows 10 and am using Qt 5.10.

              "But with my program it is not the same quality" - I meant that when I move the .exe onto the desktop, the icon shown is blurred. That is however not the case for the icon that is shown for the .ico file itself.

              mrjj 1 Reply Last reply Reply Quote 0
              • mrjj
                mrjj Lifetime Qt Champion @Denjas last edited by

                @Denjas
                ok, if you right click your exe and go properties and change icon, does
                it show your icon there in ok resolution ?

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post