PDA

View Full Version : window.requestAnimationFrame not supported in WebKit?



LZAntal
15th January 2013, 23:07
Hi all,

Just downloaded Qt5 and created an HTML5 app. After running it I edit the auto generated index.html file and replaced setTimeout with window.requestAnimationFrame.
I read that webkit 2.3 added support for it but it does not seem to be working. I see that there is canvas:requestAnimationFrame but I am looking for the plain javascript version.

Do I need to enable it manually? Is it a compile time flag and I need to build Qt5 from source?

Thank you

Laszlo