From 432c5cd6522d9c9cfe654f3c803e750c35dc1466 Mon Sep 17 00:00:00 2001 From: Pranta Dastider Date: Mon, 12 Dec 2022 19:25:44 +0100 Subject: [PATCH] QmlDesigner: Update docs for menu items relocation For the project export features menu items were grouped and relocated. To keep things relevant documents were updated. Fixes: QDS-8510 Change-Id: I93da0aced4ff606e4c53180be7ab07d5aa1004a0 Reviewed-by: Leena Miettinen --- .../studio-designer-developer-workflow.qdoc | 8 +++++--- .../src/qtdesignstudio-packaging.qdoc | 15 ++++++++------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/doc/qtdesignstudio/src/developers/studio-designer-developer-workflow.qdoc b/doc/qtdesignstudio/src/developers/studio-designer-developer-workflow.qdoc index 1753da63f7b..146501328c2 100644 --- a/doc/qtdesignstudio/src/developers/studio-designer-developer-workflow.qdoc +++ b/doc/qtdesignstudio/src/developers/studio-designer-developer-workflow.qdoc @@ -32,8 +32,8 @@ your project as a fully working C++ application with developers. If you add or remove QML files in \QDS, you have to regenerate the - \e CMakeLists.txt project configuration file by selecting \uicontrol Build - > \uicontrol Run > \uicontrol {Generate CMakeLists.txt Files}. + \e CMakeLists.txt project configuration file by selecting \uicontrol File + > \uicontrol {Export Project} > \uicontrol {Generate CMake Build Files}. If you use Git, you can clone an example project \l{https://git.qt.io/public-demos/qtdesign-studio/-/tree/master/playground/AuroraCluster0} @@ -99,6 +99,8 @@ This isn't mandatory. \li Generate CMake files and C++ source files that are used to compile the application into - an executable file by selecting \uicontrol Build > \uicontrol{Generate CMakeLists.txt files}. + an executable file by selecting \uicontrol File > \uicontrol {Export Project} > + \uicontrol {Generate CMake Build Files}. + \endlist */ diff --git a/doc/qtdesignstudio/src/qtdesignstudio-packaging.qdoc b/doc/qtdesignstudio/src/qtdesignstudio-packaging.qdoc index a1e35898812..1e426f011e1 100644 --- a/doc/qtdesignstudio/src/qtdesignstudio-packaging.qdoc +++ b/doc/qtdesignstudio/src/qtdesignstudio-packaging.qdoc @@ -24,9 +24,9 @@ set of files (icons, translation files, and so on) and you don't want to run the risk of losing the files. - To package your application, select \uicontrol Build > - \uicontrol {Generate QRC Resource File}. Then select the - files to package in the \uicontrol {Add Resources} dialog. + To package your application, select \uicontrol File > + \uicontrol {Export Project} > \uicontrol {Generate QRC Resource File}. + Then select the files to package in the \uicontrol {Add Resources} dialog. \image studio-add-resources.png "Add Resources dialog" @@ -44,10 +44,11 @@ \section1 Embedding Resources into Applications - Alternatively, you can embedd the resources into your application by - selecting \uicontrol Build > \uicontrol {Generate Deployable Package}. - Select the location for the .qmlrc file, and then select the files to - embedd in the \uicontrol {Add Resources} dialog. + Alternatively, you can embed the resources into your application by + selecting \uicontrol File > \uicontrol {Export Project} > + \uicontrol {Generate Deployable Package}. Select the location for + the .qmlrc file, and then select the files to embed in the + \uicontrol {Add Resources} dialog. When you select \uicontrol OK, \QDS creates a resource collection file (.qmlrc) in the location you selected.