Subnavigation

Say Goodbye To Flicker — Aliens Are Here To Stay

As a follow-up on Qt Invaded By Aliens — The End of All Flicker I'm pleased to inform that the alien branch was integrated into Qt main on Tuesday (2007/08/28).

To get use of aliens (a.k.a. windowless child widgets) simply go here and download the latest Qt 4.4 snapshot.

That's it!

If you for some reason want to get back to the old behavior with native windows, here's how you can do it:

1) Use 'QT_USE_NATIVE_WINDOWS=1' in your environment (PS! with today's snapshot and earlier one must use 'QT_NATIVE=1' instead).
2) Set the Qt::AA_NativeWindows attribute on the application: All widgets are native.
3) Set the Qt::WA_NativeWindow attribute on widgets: The widget itself and all ancestors are native (unless Qt::WA_DontCreateNativeAncestors is set).
4) Calling QWidget::winId enforces a native window and implies 3).
5) Setting the Qt::WA_PaintOnScreen attribute enforces a native window and implies 3).

Enjoy!


Blog Topics:

Comments