diff options
author | Eike Ziller <eike.ziller@qt.io> | 2024-05-17 09:18:14 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2024-05-17 09:18:14 +0200 |
commit | fecf95b58e3d4631c57491815b1570fc21bc37b0 (patch) | |
tree | aab0cb765326db430782c13cdf1097303aa20bbb /doc/qtcreator | |
parent | ce1f45cbfca2274f4b8fa8f4b77f5e84f195edb4 (diff) | |
parent | 2b23a359d4de4a7572a3af089c928b56b67a35d0 (diff) |
Merge remote-tracking branch 'origin/13.0'
Conflicts:
cmake/QtCreatorIDEBranding.cmake
doc/qtcreator/src/projects/creator-only/creator-projects-build-run-tutorial.qdoc
qbs/modules/qtc/qtc.qbs
Change-Id: I67a2540677a8b5c309c0c81e2a509a61d0a65aa8
Diffstat (limited to 'doc/qtcreator')
-rw-r--r-- | doc/qtcreator/images/qtcreator-configure-project.webp | bin | 0 -> 5298 bytes | |||
-rw-r--r-- | doc/qtcreator/images/qtcreator-open-project-kits.png | bin | 11379 -> 0 bytes | |||
-rw-r--r-- | doc/qtcreator/src/projects/creator-only/creator-projects-build-run-tutorial.qdoc | 19 | ||||
-rw-r--r-- | doc/qtcreator/src/projects/creator-only/creator-projects-opening.qdoc | 8 | ||||
-rw-r--r-- | doc/qtcreator/src/vcs/creator-only/creator-vcs-perforce.qdoc | 26 |
5 files changed, 39 insertions, 14 deletions
diff --git a/doc/qtcreator/images/qtcreator-configure-project.webp b/doc/qtcreator/images/qtcreator-configure-project.webp Binary files differnew file mode 100644 index 0000000000..6f77d3a2a9 --- /dev/null +++ b/doc/qtcreator/images/qtcreator-configure-project.webp diff --git a/doc/qtcreator/images/qtcreator-open-project-kits.png b/doc/qtcreator/images/qtcreator-open-project-kits.png Binary files differdeleted file mode 100644 index 8434389fa1..0000000000 --- a/doc/qtcreator/images/qtcreator-open-project-kits.png +++ /dev/null diff --git a/doc/qtcreator/src/projects/creator-only/creator-projects-build-run-tutorial.qdoc b/doc/qtcreator/src/projects/creator-only/creator-projects-build-run-tutorial.qdoc index e1d998999e..600b8f3079 100644 --- a/doc/qtcreator/src/projects/creator-only/creator-projects-build-run-tutorial.qdoc +++ b/doc/qtcreator/src/projects/creator-only/creator-projects-build-run-tutorial.qdoc @@ -1,4 +1,4 @@ -// Copyright (C) 2021 The Qt Company Ltd. +// Copyright (C) 2024 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only // ********************************************************************** @@ -50,10 +50,17 @@ the \uicontrol \B2Q tag (commercial only) in the search field (4) to list examples that you can run on \B2Q devices. + \li In \uicontrol {Configure Project}, select + \l{glossary-buildandrun-kit}{kits} for building the example for the + target platforms. + + \image qtcreator-configure-project.webp {Configure Project view} + + \li Select \uicontrol {Configure Project}. + \li To check that you can compile and link the application code for a - device, click the \uicontrol {Kit Selector} and select a - \l{glossary-buildandrun-kit}{kit} for the - device. + device, click the \uicontrol {Kit Selector} and select the kit for + the device. \image qtcreator-examples-kit-selector.webp {Selecting a kit to build with} @@ -61,7 +68,7 @@ automatically detected the installed kit. If you cannot see any kits, see \l{Add kits}. - \li Click \inlineimage icons/run_small.png + \li Select \inlineimage icons/run_small.png (\uicontrol Run) to build and run the application. \li To see the compilation progress, press \key{Alt+4} to open @@ -78,7 +85,7 @@ \endlist - \sa {Add compilers}, {Add kits}, {Add Qt versions}, + \sa {Manage Kits}{How To: Manage Kits}, {Open projects}, {Developing for Android}, {Developing for iOS}, {Compile Output}, {\B2Q: Documentation}, {Qt Design Studio Manual} */ diff --git a/doc/qtcreator/src/projects/creator-only/creator-projects-opening.qdoc b/doc/qtcreator/src/projects/creator-only/creator-projects-opening.qdoc index f631e67389..66b69a573f 100644 --- a/doc/qtcreator/src/projects/creator-only/creator-projects-opening.qdoc +++ b/doc/qtcreator/src/projects/creator-only/creator-projects-opening.qdoc @@ -63,15 +63,15 @@ To re-configure projects: \list 1 - \li In the \uicontrol {Configure Project} tab, select + \li In \uicontrol {Configure Project}, select \l{glossary-buildandrun-kit}{kits} for building and running your project. - \image qtcreator-open-project-kits.png {Configure Project tab} + \image qtcreator-configure-project.webp {Configure Project view} \li Select \uicontrol {Configure Project}. \endlist - The \uicontrol {Configure Project} tab displays a list of kits that you - install on the development PC and configure in \preferences > \uicontrol Kits. + \uicontrol {Configure Project} shows a list of kits that you + install on the computer and configure in \preferences > \uicontrol Kits. Even if you do not intend to build the project, the C++ and QML code models need a Qt version and compiler to offer code completion. To specify them, diff --git a/doc/qtcreator/src/vcs/creator-only/creator-vcs-perforce.qdoc b/doc/qtcreator/src/vcs/creator-only/creator-vcs-perforce.qdoc index 443aa40be4..3af3c6769b 100644 --- a/doc/qtcreator/src/vcs/creator-only/creator-vcs-perforce.qdoc +++ b/doc/qtcreator/src/vcs/creator-only/creator-vcs-perforce.qdoc @@ -35,11 +35,29 @@ Set workspace details in \uicontrol {P4 user}, \uicontrol {P4 client}, and \uicontrol {P4 port}. + \section1 Using Configuration Files + To specify the details individually for several projects, use configuration - files instead. Create a \c {p4config.txt} configuration file for each - project in the top level project directory, and run - \c{p4 set P4CONFIG=p4config.txt} once. You must deselect the - \uicontrol {Environment Variables} check box. + files: + + \list 1 + \li Create a \c {p4config.txt} configuration file for each project in the + top level project directory. + \li Go to \preferences > \uicontrol {Version Control} > + \uicontrol Perforce. + \li Clear \uicontrol {Environment Variables}. + \li Run the following command from the command line once: + \list + \li On Windows: + \badcode + p4 set P4CONFIG=p4config.txt + \endcode + \li On Linux + \badcode + export P4CONFIG=<path-to-p4config.txt> + \endcode + \endlist + \endlist \section1 Editing Files |