[Interest] fromWinHICON missing from Qt 5

Joseph Crowell joseph.w.crowell at gmail.com
Sun Sep 2 14:23:01 CEST 2012

QPixmap QPixmap::fromWinHICON( HICON ); Is there a reason this has been 
removed? If so, is there any another method which results in the same 
return values from a windows resource dll?

I had a project which loaded windows icons in a list by pulling the 
correct icon from QFileInfo which is of type HICON. I think many people 
did. Maybe if QFileInfo returned a QIcon or QPixmap this wouldn't be 

More information about the Interest mailing list