PDA

View Full Version : Custom Icon Missing from Window Menu Bars



masher
19th September 2012, 01:35
Custom Icon Missing from Window Menu BarsIcons show up fine on my system, but when installed on systems without Qt, the custom icon does not display, the default icon displays enstead. However, the Desktop and the Taskbar displays my custom icon just fine.

Things Already Tried/Done:

Yes, both QtCore4.dll, and QtGui4.dll are included.

Additionally, I have run the executable through Dependency Walker and all dependencies are included in my Setup project/build. Nothing appears to be missing from the build.

I have a foo.qrc file with the customIcon.ico file and an foo.rc file that has the same. The *.rc file provides the icon on the desktop and taskbar. It seems to be working fine.

The puzzler is the Qt window icons show up fine on my system and on another developers system, but not on non-Qt systems.

How do I fix this?

System: Win7 Prof 64bit, Visual Studio 10, Qt 4.8.1

Thanks;
masher333

Jonny174
19th September 2012, 02:48
Try put folder %Qt%/plugins/imageformats with your executable file