[Qt-interest] Qt4.53 and Direct3D PaintEvent

Freak . mentalcodes at gmail.com
Thu Oct 15 07:49:15 CEST 2009


Hi,

I have adapted the code example from DXSDK (August 2009) D3D10 Tutorial 4,
to Qt4.53 and it works fine... Except that it won't animate!
The Cube appears just as the SDK example, however i can only make the Cube
spin if i resize the QWidget window continuously
So as long as i resize my window the cube spins, but not otherwise. The
Windows example obviously spins without user intervention.

Any ideas on what could be happening and or how to fix it?  I guess that Qt
is only drawing once and not repainting unless i resize, Any ideas on how to
fix.

Can i fool Qt into repainting without resizing, any ideas on where to
investigate?

Cheers,
Scott.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091015/4db633a9/attachment.html 


More information about the Qt-interest-old mailing list