Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
Qt for MCUs 2.9, Qt for MCUs 2.8.1
-
None
-
-
Auto team Sprint 3.10
Description
If the component defined in the same QML file has some animation, the app will crash when loading that component.
App crashes by following QML code.
Rectangle { Component { id: comp Text { id: textItem property int num: 0 text: num NumberAnimation { target: textItem property: "num" running: false loops: -1 to: 2000 from: 0 } } } Loader { active: true sourceComponent: comp } }
Attached reproduced project: qtmcu361.zip
Error with Windows(msvc) as follows:
Call Stack:
Workarounds: separate the component to another QML file.
Attachments
Issue Links
- relates to
-
QTMCU-341 vertical/horizontal alignment property is not available when referencing a Text defined as Component by id from a Loader
-
- Closed
-