打开用户界面文件Qt Design Studio

默认情况下,Qt CreatorDesign 模式下,在名为Qt Quick Designer 的可视化编辑器中打开 QML 文件 (.qml) 和用户界面文件 (.ui.qml)。

要在Qt Design Studio 中打开.ui.qml 文件:

  1. 转到Preferences > > 。 Qt Quick>QML/JS Editing

    <span translate=Qt Quick 偏好设置中的 QML/JS 编辑选项卡" src="images/qtcreator-qml-js-editing.webp" title="Qt Quick 偏好设置中的 QML/JS 编辑选项卡"/>

  2. Open .ui.qml files with 中,选择 Qt Design Studio.

另请参阅 如何设计Qt Quick UIQt Quick UI 设计设计Qt Quick UIQt Design Studio 文档

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.