PDA

View Full Version : using setAttribute( Qt::WA_MacMetalStyle ) on Qt 4.3 rc1 makes UI transparent



mshort007
21st May 2007, 22:38
Hello All..

We are using Qt 4.3 rc1 on Mac OSX 10.4.9 using XCode 2.4.1 to compile.

We likes the brushed metal UI for our project, we have been previously compiling with Qt 4.2.0 - 4.2.3, and we have not had any problems.

Now that we have compiled 4.3.0 rc1 and when we build our project against it, the UI is now transparent when I use the setAttribute() function.

It gets called like this:

setAttribute(Qt::WA_MacMetalStyle);

when I comment out that line I get the standard OSX themed application background.

when I have the above line of code compiled in, the background is completely transparent.

Is this an issue with how we compiled Qt 4.3.0 rc1, or could it be the new XCode, or has something changed in 4.3 that will require us to do things in a different manner to achieve our goal?

Anyone seen anything like this?

Any help would be appreciated.

-mshort007


PS - With the background transparent, I can click on icons on my desktop and manipulate them through the main window area of the app. (Its a feature not a bug.. right?)