Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
4.6.2
-
None
-
Qt 4.6.2 Carbon (using sdk 10.4u) - OS X Snow Leopard 10.6.3
Description
When settings a pixmap that contains transparency in the background role of a top level QWidget, the window become totally transparent instead of showing the pixmap.
The problem appear only with Carbon, on Cocoa the pixmap is correctly shown.
Exemple of used code :
void Dock::on_lwImages_itemActivated( QListWidgetItem* item )
{
const QPixmap pixmap( item->data( Qt::UserRole ).toString() );
QPalette palette = QApplication::palette();
palette.setBrush( widget->backgroundRole(), QBrush( pixmap ) );
widget->setPalette( palette );
widget->resize( pixmap.size() );
}
Attachments
Issue Links
- relates to
-
QTBUG-12820 It seems QSplashScreen doesn't work with WA_TranslucentBackground
- Closed