I've compiled a basic Qt app as given in this tutorial: http://zetcode.com/tutorials/qt4tutorial/introduction/ ("Testing a Small Example").

When I run it, the window shows up but Qt doesn't draw in the background. I end up with phantoms from windows behind it: http://i.imgur.com/yg79s.png

The window will draw the background correctly when I resize it -- MOST of the time. And sometimes there will be a noticeable delay between resizing and drawing in the window.

Am I missing some libraries? Is this a bug? Maybe there's something else I can look up to find a solution?

I'm running debian linux, my window manager is fluxbox, and my video card is a GeForce FX Go5200 64M.

I should note that this works perfectly well on another computer I have that's running sid as well, with a Radeon HD 3200 Graphics with the fglrx driver.

I apologize if this should be in Installation and Deployment instead.