PDA

View Full Version : Is it possible to stop Qt from painting a region of the screen?



rrabien
16th February 2011, 23:29
I'm using the Quicktime SDK on Windows with Qt. Quicktime paints itself directly on my Qt Window. Is there anyway to tell Qt to ignore the Rect occupied by the Quicktime video and never paint anything there?

I'm getting flicker between the Qt background and the Quicktime video.

One idea I had was create a child window myself and add it to the Qt Window and get Quicktime to draw onto that. Then I could handle the painting of the child window myself.

Any other ideas?