C
QML API changes
Removed QML types and features
Here is a list of removed QML types and modules
| QML API or module | Alternative |
|---|---|
| Qt Charts module | There is no replacement, but a workaround with static images can be used. Refer to the thermostat demo. |
| Javascript Date API | Currently there is no replacement. |
toFixedInt() | toFixed() |
toExponentialAuto() | toExponential() |
Moved QulPerf
QulPerf has been moved to the Qt Quick Ultralite Extras QML module. You should now import the Qt Quick Ultralite Extras QML module to use it.
| Qt for MCUs v1.9 and earlier | Qt for MCUs v2.0 and later |
|---|---|
| |
JavaScript expressions in a ListElement
JavaScript expressions can no longer be bound with a property value in a ListElement. The ListElement now limits the possible values to constants and qsTr() / qsTrId() calls only. These changes are compatible with Qt.
| Qt for MCUs v1.9 and earlier | Qt for MCUs v2.0 and later |
|---|---|
| |
Item margins in AnchorChanges
AnchorChanges can no longer be used to modify the margins of an item. Use PropertyChanges instead.
| Qt for MCUs v1.9 and earlier | Qt for MCUs v2.0 and later |
|---|---|
| |
Text alignment
The enumeration values for horizontalAlignment and verticalAlignment properties have been unified for both Text and StaticText items. These types now use the Text.horizontalAlignment and Text.verticalAlignment values instead.
| Qt for MCUs v1.9 and earlier | Qt for MCUs v2.0 and later |
|---|---|
| |
Limit Font.unicodeCoverage usage
The font.unicodeCoverage property is supported in Qt.font() context only.
| Qt for MCUs v1.9 and earlier | Qt for MCUs v2.0 and later |
|---|---|
| |
Available under certain Qt licenses.
Find out more.