Results 1 to 1 of 1

Thread: using setAttribute( Qt::WA_MacMetalStyle ) on Qt 4.3 rc1 makes UI transparent

  1. #1
    Join Date
    May 2007
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default using setAttribute( Qt::WA_MacMetalStyle ) on Qt 4.3 rc1 makes UI transparent

    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?)
    Attached Images Attached Images

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.