[Development] Qt5 Alpha - show FPS

gunnar.sletta at nokia.com gunnar.sletta at nokia.com
Mon Jun 25 09:54:21 CEST 2012


QML_RENDERER_TIMING=1 shows you the time spent in the renderer (excluding the swap). If you use the threaded renderer, you can also use QML_CANVAS_TIMING=1 shows you the time it spends in the various parts of the the render loop, including the swap. 

You can enable the threaded renderer on windows and linux with QML_FORCE_THREADED_RENDERER=1

cheers,
Gunnar


On Jun 22, 2012, at 1:38 PM, ext Dietrich.Gossen at conti-engineering.com wrote:

> Hi, 
> 
> In Qt 4.8 it's possible to get the FPS by exporting QML_SHOW_FRAMERATE=1. 
> In Qt 5 Alpha this is no longer an options, since it doesn't show any output. 
> 
> How is it possible, to show the FPS in Qt5 Alpha? 
> 
> Best regards 
> 
> Dietrich_______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development




More information about the Development mailing list