在xml-ph-0000@deepl.internal中打开UI文件Qt Design Studio

默认情况下,Qt Creator 会在“Design ”模式下,通过名为Qt Quick Designer的可视化编辑器打开QML文件(.qml )和UI文件(.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 用户界面》、《Qt Quick 用户界面设计》《设计Qt Quick 用户界面》以及《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.