Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [Solved] Windows application icon not apear in the explorer

[Solved] Windows application icon not apear in the explorer

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 2 Posters 2.1k Views
  • 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.
  • D Offline
    D Offline
    dasun
    wrote on last edited by
    #1

    I think I did follow all the step guided "here.":http://qt-project.org/doc/qt-4.8/appicon.html. I guess res file has linked with the exe because the file size has increased.

    My .pro file (vaastu.pro)

    @QT += sql core gui printsupport

    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

    TARGET = vaastu
    TEMPLATE = app

    win32 {
    RC_FILE = vaastu.rc
    }
    SOURCES += ...

    HEADERS += ....

    FORMS += ...

    RESOURCES +=
    Fonts.qrc
    @

    My .rc file (vaastu.rc)

    @IDI_ICON1 ICON DISCARDABLE "vaastu.ico"@

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      On what version of windows do you see the problem ?

      IIRC, I had some problem with windows XP where the icon had to be 32x32 pixels otherwise it would not show.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dasun
        wrote on last edited by
        #3

        I did try with 32x32 pixels too. Result is still the same.

        Environment : 5.1.0 Alpha(32 bit),
        OS: Windows 8 (64bit)

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dasun
          wrote on last edited by
          #4

          I dig the exe with Resource Hacker, resource files are inside it but I couldn't find Icon_group section inside it.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dasun
            wrote on last edited by
            #5

            Found a solution from "stackoverflow":http://stackoverflow.com/questions/16207214/windows-application-icon-not-apear-in-the-explorer/16208861#16208861

            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