Qt Quick Labs 平台的变更
Qt 6 是为了提高框架的效率和易用性而进行的有针对性努力的成果。
我们力求在每个版本中保持所有公开 API 的兼容性。但为了使 Qt 成为更优秀的框架,某些变更在所难免。
在本主题中,我们将总结Qt Quick Labs 平台中的这些变更,并提供相应的处理指南。
Menu 类型
已废弃的iconName 和iconSource 属性已被移除。请改用icon 属性。
MenuItem 类型
已弃用的iconName 和iconSource 属性已被移除。请改用icon 属性。
SystemTrayIcon 类型
已弃用的iconName 和iconSource 属性已被移除。请改用icon 属性。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.