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

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Mon Aug 30 11:41:13 CEST 2010


On 2010-08-30 Dmitry Dmitry Savenko wrote:

> Hello!
> 
> Thanks for your answer, but the things appeared to be more complicated.
> I tried different flags (including Qt::FramelessWindowHint), I tried
> inheriting from QSplashScreen. 

Hmmm, that's interesting: so you are saying that also QSplashScreen has a shadow on Mac? I will try this myself when I find some time on my home Mac.

> The only way I found
> is to use native Mac OS calls (Carbon framework). 

Thanks for your code sharing! But IMHO Qt should take care of that already. Or is there simply a "QNoShadow" flag missing in the current Qt API? *hint* *hint* ;) And what about Cocoa? :)

Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22






More information about the Qt-interest-old mailing list