Still the same, the icon is there, but I still just get the default qt one.
Wondering if it could be something to with that the window is a sub-window? Code I use to add this to my mdi workspace :
Qt Code:
m_pworkspace->addSubWindow( m_pPlotterView );To copy to clipboard, switch view to plain text mode
Where m_pPlotterView is my class derived from QWidget.
The only window I've successfully been able to change icon on is if it is derived from QDialog?
Regards,
Steve
Bookmarks