[Qt-interest] Works in 4.53, but not 4.6.

Bachrach, Robert L rob.bachrach at tycoelectronics.com
Tue Dec 22 12:46:53 CET 2009


I use a 3rd party library that draws its own 3D graphics to a QtWidget.  Although I have not yet tried it with 4.6, it appears to set the following in the windows constructor:

	setAttribute(Qt::WA_NoSystemBackground);
	setBackgroundRole( QPalette::NoRole);

In theory, this should prevent Qt from drawing a background on the widget and should prevent it from overwriting your graphics.

Rob



More information about the Qt-interest-old mailing list