[Qt-interest] calculate FPS using QTime

ami guru dosto.walla at gmail.com
Mon Jan 12 06:11:56 CET 2009


Hello forum,


I am trying to calculate the the fps using QTime.

starting the time inside the widget that is the subclass of QGLWidget
and calling the calculateFPS() function inside paintGL() function.

Do i have to call updateGL() anywhere ?

Need some suggestion on that


Regards
Sajjad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090112/12dfe405/attachment.html 


More information about the Qt-interest-old mailing list