Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt for MCUs 1.4, Qt for MCUs 1.3, Qt for MCUs 1.5, Qt for MCUs 1.8
-
0
-
QUL Sprint 2.5/2021, Sprint 3.1/2021, Sprint 3.2/2021, Sprint 3.4/2021
Description
Using SequantialAnimation or ParallelAnimation in Behavior results in compilation error. Example:
Behavior on opacity { SequentialAnimation { PauseAnimation { duration: 200; } NumberAnimation { duration: 120; } } }
Complete compile output with the error can be found in the attached "build_error.txt".
It is stated in the docs of Behavior (https://doc.qt.io/QtForMCUs/qml-qtquick-behavior.html#details):
"Note: A property cannot have more than one assigned Behavior. To provide multiple animations within a Behavior, use ParallelAnimation or SequentialAnimation."
so judging by that this should work.