I forgot to send this to the list...

On 21-Mar-2012, at 10:11 AM, Jason Dictos wrote:

> Is there a way to get a QIcon from an NSImage?

You can get a QPixmap from a CGImage:  QPixmap::fromMacCGImageRef.

You can make the icon from the QPixmap using the QIcon constructor that does 
that. 

You will have to do the research on NSImage -> CGImage. Unless Apple is really 
annoying (and they often are :), there should be an easy way to go from NSImage 
to CGImage.

-John Weeks

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to