在桌面上预览 QML 文件

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

  • DesignEdit 模式的顶部工具栏中,选择“实时预览 ”(Live Preview )。

    在编辑器视图之上运行的应用程序

  • 转到“Build ”,然后选择“QML Preview ”。

另请参阅 《如何:设计Qt Quick 用户界面》、《Qt Quick 用户界面设计》以及《设计Qt Quick 用户界面》。

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.