Animation thread == GUI Thread ?
-
Is this still up to date:
https://www.qt.io/blog/2012/08/20/render-thread-animations-in-qt-quick-2-0
Animations in qml can be only run in the main thread?
Im asking because in the curricuum for qml is a point "Animation thread" and I can find no information about it beside the links provided....
-
Is this still up to date:
https://www.qt.io/blog/2012/08/20/render-thread-animations-in-qt-quick-2-0
Animations in qml can be only run in the main thread?
Im asking because in the curricuum for qml is a point "Animation thread" and I can find no information about it beside the links provided....
@sandro4912 said in Animation thread == GUI Thread ?:
Is this still up to date:
https://www.qt.io/blog/2012/08/20/render-thread-animations-in-qt-quick-2-0
Animations in qml can be only run in the main thread?
Yes, it's the same thread.
If you need to animate something in a different thread to have a smooth animation, use Animator
-
@sandro4912 said in Animation thread == GUI Thread ?:
Is this still up to date:
https://www.qt.io/blog/2012/08/20/render-thread-animations-in-qt-quick-2-0
Animations in qml can be only run in the main thread?
Yes, it's the same thread.
If you need to animate something in a different thread to have a smooth animation, use Animator
@sierdzio Then why would I even use the normal Animations in some cases? I could just go with the Animators for everything or am I wrong?
edit:
The only restriction I found:
The Animator types can be used for animations during transitions, but they do not support the reversible property.
-
I don't know. I've never used Animator in large numbers. Perhaps you're right and it's not a problem at all.