QOpenGLWidget::repaint() not immediatly repaint
-
Hellow :
I use the QOpenGLWidget class to rendering OpenGL graphics at a Desktop PC(win7).
I call repaint() ,but it not immediate repaint.
it several times results in just one paintEvent() called that act like update() .
I use repaint() work fine at another laptop(XP).
why?how to solve it? -
Hi and welcome to devnet,
What version of Qt are you using ?
Can you show the code you are using ? -
Hi and welcome to devnet,
What version of Qt are you using ?
Can you show the code you are using ? -
Then you should check the difference between the two machines. It could be a driver problem.
What graphic stack do you use on that desktop machine ?
-
Graphic Card
Driver
etc. -
Because if you use a tight loop you'll block Qt's event loop hence no painting.