Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Solved] Windows application icon not apear in the explorer
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
exebecause 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
RC_FILE = vaastu.rc
SOURCES += ...
HEADERS += ....
FORMS += ...
My .rc file (vaastu.rc)
@IDI_ICON1 ICON DISCARDABLE "vaastu.ico"@
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
I did try with 32x32 pixels too. Result is still the same.
Environment : 5.1.0 Alpha(32 bit),
OS: Windows 8 (64bit)
I dig the exe with Resource Hacker, resource files are inside it but I couldn't find Icon_group section inside it.
Found a solution from "stackoverflow":http://stackoverflow.com/questions/16207214/windows-application-icon-not-apear-in-the-explorer/16208861#16208861