打开用户界面文件Qt Design Studio
默认情况下,Qt Creator 在Design 模式下,在名为Qt Quick Designer 的可视化编辑器中打开 QML 文件 (.qml) 和用户界面文件 (.ui.qml)。
要在Qt Design Studio 中打开.ui.qml 文件:
- 转到Preferences > > 。 Qt Quick>QML/JS Editing 。
Qt Quick 偏好设置中的 QML/JS 编辑选项卡" src="images/qtcreator-qml-js-editing.webp" title="Qt Quick 偏好设置中的 QML/JS 编辑选项卡"/>
- 在Open .ui.qml files with 中,选择 Qt Design Studio.
另请参阅 如何设计Qt Quick UI、Qt Quick UI 设计、设计Qt Quick UI 和Qt 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.