[Qt-interest] [Qt-nterest] Qt::WA_OpaquePaintEvent on OSX

Martin Guillon MGuillon at movea.com
Tue Dec 8 15:09:26 CET 2009


Now I did and It doesn’t work.
With that flag my frame is transparent (something I want to) but the StaticContent doesn’t seem to work under osx (qt-carbon) and I really really need it. 
To give more info I am doing a qt application to draw on the desktop.

-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Girish Ramakrishnan
Sent: Tuesday, December 08, 2009 8:37 AM
To: Martin Guillon; qt-interest at trolltech.com
Subject: Re: [Qt-interest] [Qt-nterest] Qt::WA_OpaquePaintEvent on OSX

Martin Guillon wrote:
> Hi,
> 
>  
> 
> I was wondering if anyone had this flag working on OSX. I read nowhere
> that this flag shouldn’t work on OSX but using the eact same code under
> Win and OSX, OpaquePaintEvent doesn’t work under OSX, During each
> paintevent, the background is cleared which I really don’t want.
> 

Have you tried setting Qt::WA_NoSystemBackground?

Girish
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list