Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Icon for program becomes blurry
Forum Updated to NodeBB v4.3 + New Features

Icon for program becomes blurry

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 3.1k Views 1 Watching
  • 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.
  • DenjasD Offline
    DenjasD Offline
    Denjas
    wrote on last edited by
    #1

    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
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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 :)

      DenjasD 1 Reply Last reply
      0
      • mrjjM mrjj

        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 :)

        DenjasD Offline
        DenjasD Offline
        Denjas
        wrote on last edited by
        #3

        @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.

        mrjjM 1 Reply Last reply
        0
        • DenjasD Denjas

          @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.

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @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 ?

          DenjasD 1 Reply Last reply
          0
          • mrjjM mrjj

            @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 ?

            DenjasD Offline
            DenjasD Offline
            Denjas
            wrote on last edited by
            #5

            @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.

            mrjjM 1 Reply Last reply
            0
            • DenjasD Denjas

              @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.

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @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
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved