From 096c4ae18d80f6960852755bc95f19fc3d2180d7 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Fri, 14 Jun 2024 14:53:59 +0200 Subject: [PATCH] Doc: Describe Open With > Qt Design Studio for .ui.qml.files Task-number: QTCREATORBUG-30604 Change-Id: I4049e6717cb3e0811bed78a15a9be9c1fdda28d2 Reviewed-by: Eike Ziller --- dist/changelog/changes-14.0.0.md | 4 +++- doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc | 12 ++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/dist/changelog/changes-14.0.0.md b/dist/changelog/changes-14.0.0.md index 6347b3d819a..803db565eec 100644 --- a/dist/changelog/changes-14.0.0.md +++ b/dist/changelog/changes-14.0.0.md @@ -56,6 +56,7 @@ Editing ([QTCREATORBUG-10279](https://bugreports.qt.io/browse/QTCREATORBUG-10279)) [Documentation](https://doc.qt.io/qtcreator/creator-reference-cpp-quick-fixes.html) + * Clangd * Increased the minimum version to LLVM 17 * Added the `Per-project index location` and `Per-session index location` @@ -85,7 +86,8 @@ Editing * Improved support for enums ([QTCREATORBUG-19226](https://bugreports.qt.io/browse/QTCREATORBUG-19226)) -* Added `Qt Design Studio` to `Open With` for `.ui.qml`-files +* Added `Qt Design Studio` to `Open With` for `.ui.qml` files + ([Documentation](https://doc.qt.io/qtcreator/creator-quick-ui-forms.html)) * Language Server * Switched on by default * Added option for generating `qmlls.ini` files for CMake projects diff --git a/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc b/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc index 1cfa1505441..7ff6d416d02 100644 --- a/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc +++ b/doc/qtcreator/src/qtquick/qtquick-ui-forms.qdoc @@ -23,14 +23,18 @@ \brief Limitations of \QDS UI files (.ui.qml). \if defined(qtdesignstudio) - You can use \QDS wizards to create UI files that have the filename - extension \e .ui.qml. The UI files can be edited in the \l {2D} view. - If you use the \l {Code} view to add code that is not supported - by the \uicontrol {2D} view, \QDS displays error messages. + \QDS wizards create UI files that have the filename extension \e .ui.qml. + Edit the UI files in the \l {2D} view. + + If you use the \l {Code} view to add code that the \uicontrol {2D} view does + not support, \QDS displays error messages. \else If you switch between \QC and \QDS or cooperate with designers on a project, you might encounter UI files (.ui.qml). They are intended to be edited in \QDS only. + + To open UI files with \QDS, select \uicontrol {Open With} > + \uicontrol {\QDS} in the context menu for the file. \endif