[Qt-interest] How to control fps in property animation
Sean Harmer
sean.harmer at maps-technology.com
Fri Oct 15 10:30:20 CEST 2010
On Wednesday 13 October 2010 00:48:06 Lorenzo Marussi wrote:
<snip>
> but.. my animation is very simple (it's a rectangle that moves from
> right to left), but there are a few istants where it's stop (for a
> millisecond),
> and the whole effect is not so good.
>
> I tried with different hardware (core i7 + nvidia graphic card at best),
> differents CacheMode, setting a QGLWidget viewport
>
> but the animation is never "smooth"..
>
> any ideas?
Yes, profile it (using valgrind or similar) and/or make a very simple
compilable example the reproduces the issue and post it here. Is your main
thread doing anything else whilst your animation is running?
Sean
More information about the Qt-interest-old
mailing list