LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Basic Qt app doesn't redraw window properly (linux/debian) (http://www.linuxquestions.org/questions/linux-software-2/basic-qt-app-doesnt-redraw-window-properly-linux-debian-858456/)

illuminatedwax 01-24-2011 08:16 PM

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 sid, 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 Debian sid as well.

Tinkster 01-25-2011 02:04 PM

Hmmm ... slackware64 13.1, fluxbox 1.1.1, Intel Corporation Mobile 4 Series Chipset


No problems. I'd say it's something about how your Qt interacts w/ your graphics
driver/X11 set-up. What graphics card/device driver is the other machine of yours using?



Cheers,
Tink

illuminatedwax 01-25-2011 03:53 PM

Quote:

Originally Posted by Tinkster (Post 4237467)
Hmmm ... slackware64 13.1, fluxbox 1.1.1, Intel Corporation Mobile 4 Series Chipset


No problems. I'd say it's something about how your Qt interacts w/ your graphics
driver/X11 set-up. What graphics card/device driver is the other machine of yours using?



Cheers,
Tink

Radeon HD 3200 Graphics with the fglrx driver. This is an nVidia machine. Maybe I should google incompatibilities with Qt and my graphics card/driver?

Tinkster 01-25-2011 06:47 PM

Quote:

Originally Posted by illuminatedwax (Post 4237574)
Radeon HD 3200 Graphics with the fglrx driver. This is an nVidia machine. Maybe I should google incompatibilities with Qt and my graphics card/driver?


Sounds like an option; and while the posts I dug up mentioning NVidia
and Qt4 problems look kind of unrelated: what happens if you start
your sample app w/
Code:

./qttest -graphicssystem raster

Cheers,
Tink

illuminatedwax 01-26-2011 02:48 PM

I get the same behavior, unfortunately. I've tried it with ./test -graphicssystem native with no luck as well.


All times are GMT -5. The time now is 03:29 PM.