Basic Qt app doesn't redraw window properly (linux/debian)
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.
Re: Basic Qt app doesn't redraw window properly (linux/debian)
Quote:
Originally Posted by
illuminatedwax
In general if you're using a custom tutorial and something doesn't work I would advise to bother the author of the tutorial...
Try running any of the examples bundled with Qt and see if you can reproduce the faulty behaviour with them.
Re: Basic Qt app doesn't redraw window properly (linux/debian)
I compiled and ran this tutorial:
http://doc.qt.nokia.com/latest/tutor...-toplevel.html
and the results were replecated exactly.
Re: Basic Qt app doesn't redraw window properly (linux/debian)
Re: Basic Qt app doesn't redraw window properly (linux/debian)
Through the debian dev packages.
Re: Basic Qt app doesn't redraw window properly (linux/debian)
Try running any KDE application or any binary Qt example (it's probably a separate package). See if they all contain the faulty behaviour. Also run your example with "-graphicssystem raster" and then with "-style plastique" commandline options and see if any of them fixes the problem.
Re: Basic Qt app doesn't redraw window properly (linux/debian)
OK, so there's no effect when I run it with -graphicssystem raster or -style plastique (I also tried -graphicsssystem native on a suggestion from IRC).
I tried downloading a Qt app, I chose this one: http://qt-apps.org/content/show.php/...?content=57968
It works both in binary and when I compile it.