Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt for MCUs 2.3.1
Description
In Qt for MCUs 2.3 using "horizontalAlignment: Text.AlignHCenter" with wrapping makes the app to go into error hook:
"Qt for MCUs error: Core:TextLine_NotValid:192, line: 458, params: 0, 0, 0.
See https://doc.qt.io/QtForMCUs/qtul-error-handling.html for more information.
Halting execution."
Reproduces on desktop and on hardware.
This works correctly within Design Studio and with regular Qt.
Please find minimal reproducing example snippet below:
import QtQuick 2.0 Rectangle { width: 800 height:480 Text { width: 140 horizontalAlignment: Text.AlignHCenter wrapMode: Text.WordWrap text: "Some long text to reproduce the issue where it asserts" } }