在桌面上预览 QML 文件

在桌面上预览当前活动的 QML 文件:

  • 选择DesignEdit 模式顶部工具栏上的现场预览 (Live Preview)。

    在编辑器视图顶部运行应用程序

  • 转到Build ,然后选择QML Preview

另请参阅 如何设计Qt Quick UI设计 Qt Quick UI设计Qt Quick UI

Copyright © The Qt Company Ltd. and other contributors. 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.