I have a Qt top level widget with the FramelessWindowHint flag and the WA_TranslucentBackground attribute set. He has several children, each of whom draws an image on him. They are not in the layout. Instead, I simply move them when something changes (it does not change by the user).
There are two states in the window - a large state and a small state. When I switch between them, I resize the window and move the children. The problem is that as the window is resized, a black box briefly appears in the top-level window before images are drawn on top of it.
The problem will disappear if I turn off Aero. I found a brief mention of this problem, which is fixed in an article describing the new Qt release (this release has been around for a long time), but it still does not work.
Any ideas why?
Thank!
source
share