Changes to Qt Quick Labs Platform

Qt 6 是努力使框架更高效,且更易于使用的结果。

We try to maintain compatibility for all the public APIs in each release. Some changes were inevitable in an effort to make Qt a better framework.

In this topic we summarize those changes in Qt Quick Labs Platform, and provide guidance to handle them.

The Menu type

The deprecated iconName and iconSource properties were removed. Use the icon 特性代替。

The MenuItem type

The deprecated iconName and iconSource properties were removed. Use the icon 特性代替。

The SystemTrayIcon type

The deprecated iconName and iconSource properties were removed. Use the icon 特性代替。