Hi

I am getting strange problem with application icon. I have created sample application and trying to set the application icon using the setWIndowIcon().
I have created .rc file and added it to the .pro file.
When i run the application from visual studio, it shows the icon on top left of the main window.
But if i run the appliaction through explorer by doule clicking the .exe, it shows default icon.

.exe created did show the application icon. Bu the application is showing deafult icon.

If i put the icon file near b y .exe, then it correctly shows the icon on the top left corner.

It seems that there is problem with path of the icon file. But i believe that resources should get bundled with the .exe.

Can any one tell me whats going wrong.


Thanks in advance.


Regards,
~Sanjay