Re: [Interest] fromWinHICON missing from Qt 5

2012-09-04 Thread lars.knoll
On Sep 4, 2012, at 2:17 AM, ext Joseph Crowell mailto:joseph.w.crow...@gmail.com>> wrote: On 9/4/2012 3:13 AM, Justin Karneges wrote: On Monday, September 03, 2012 01:24:56 PM lars.kn...@nokia.com wrote: > On Sep 2, 2012, at 3:57 PM, ext Thiago Macieira >

Re: [Interest] fromWinHICON missing from Qt 5

2012-09-03 Thread Joseph Crowell
On 9/4/2012 3:13 AM, Justin Karneges wrote: On Monday, September 03, 2012 01:24:56 PM lars.kn...@nokia.com wrote: > On Sep 2, 2012, at 3:57 PM, ext Thiago Macieira wrote: > > On domingo, 2 de setembro de 2012 22.23.01, Joseph Crowell wrote: > >> QPixmap QPixmap::fromWinHICON( HICON ); Is t

Re: [Interest] fromWinHICON missing from Qt 5

2012-09-03 Thread Thiago Macieira
On segunda-feira, 3 de setembro de 2012 10.13.39, Justin Karneges wrote: > Interesting approach. So the idea here is to have APIs that are platform > independent, even if the underlying code paths (e.g. within QPixmap) must > certainly differ by platform? And if the APIs themselves must differ by >

Re: [Interest] fromWinHICON missing from Qt 5

2012-09-03 Thread Justin Karneges
On Monday, September 03, 2012 01:24:56 PM lars.kn...@nokia.com wrote: > On Sep 2, 2012, at 3:57 PM, ext Thiago Macieira wrote: > > On domingo, 2 de setembro de 2012 22.23.01, Joseph Crowell wrote: > >> QPixmap QPixmap::fromWinHICON( HICON ); Is there a reason this has been > >> removed? > > > >

Re: [Interest] fromWinHICON missing from Qt 5

2012-09-03 Thread lars.knoll
On Sep 2, 2012, at 3:57 PM, ext Thiago Macieira wrote: > On domingo, 2 de setembro de 2012 22.23.01, Joseph Crowell wrote: >> QPixmap QPixmap::fromWinHICON( HICON ); Is there a reason this has been >> removed? > > Yes, the QPixmap API is platform-independent, completely. The equivalent > fro

Re: [Interest] fromWinHICON missing from Qt 5

2012-09-02 Thread Thiago Macieira
On domingo, 2 de setembro de 2012 22.23.01, Joseph Crowell wrote: > QPixmap QPixmap::fromWinHICON( HICON ); Is there a reason this has been > removed? Yes, the QPixmap API is platform-independent, completely. The equivalent fromWinHBITMAP, fromMacCGImageRef, fromSymbianCFbsBitmap, fromSymbianRSgIm

[Interest] fromWinHICON missing from Qt 5

2012-09-02 Thread Joseph Crowell
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 ty