[Qt-interest] How to disable window shadow on Mac?

John Weeks john at wavemetrics.com
Tue Aug 31 17:48:59 CEST 2010


On Aug 30, 2010, at 8:31 PM, Dmitry Savenko wrote:

> So, how to do it in a 'bullet-proof' way? Without deprecated calls and
> compatible with both Carbon and Cocoa versions of Qt?

For Cocoa (which can be either 32- or 64-bit), you need to learn about  
NSWindow. I just looked up the documentation:

http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ApplicationKit/Classes/NSWindow_Class/Reference/Reference.html

Among other things there's a member, setHasShadow.

Now you know as much as I do :) We're trying to use Qt to *avoid*  
learning the details of Cocoa, but will probably not be entirely  
successful.

Regards,
John Weeks

WaveMetrics, Inc.
Phone (503) 620-3001
Fax   (503) 620-6754
email   support at WaveMetrics.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100831/e496b620/attachment.html 


More information about the Qt-interest-old mailing list