[Interest] Rotating objects in QML are killing performance
michael at steelcode.com
Thu Apr 11 18:31:46 CEST 2013
I have a loading throbber in my application that is completely killing the
performance. If it is rotating then the application does not repaint while
it is being dragged and if more than two or three copies of the application
are running then it starts lagging Unity. I'm on Ubuntu 12.04 with Qt 5.0.1
64-bit. I was going to wait until 5.2 was out and check again, but it's
taking a little longer than I expected for a stable version to be released.
Here is a simple reproducer of the problem, I create a QtQuick2 application
in Qt Creator 2.7. I adjust the QML to look like this:
import QtQuick 2.0
My main.cpp is the default, but that looks like this:
int main(int argc, char *argv)
QGuiApplication app(argc, argv);
I am new to Qt, so perhaps I am doing something wrong with my animation,
but I have tried a couple other methods of animating and they all lag
equally badly. The PC I develop on is quite a monster, so if it is lagging
on this, I hate to think what it's going to do on my clients' laptops.
Anyone have any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest