Hi,
I have used the following piece of code to set icon for main application windows :
I thought this would set all icons in my windows, but I still get the default qt icon appearing?
Any help is appreciated.
Regards,
Steve
Printable View
Hi,
I have used the following piece of code to set icon for main application windows :
I thought this would set all icons in my windows, but I still get the default qt icon appearing?
Any help is appreciated.
Regards,
Steve
Are you sure the relative path is correct (check if the pixmap is not null)? Also make sure to call that method before you create any of the windows you want to have that default icon.