From 31e98000f751af47ef2925c1d6b73620c082ffd2 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Mon, 23 Sep 2024 13:03:15 +0200 Subject: [PATCH] Doc: Add Linux examples of CLI commands Fixes: QTCREATORBUG-31620 Change-Id: I2993801a60a93d9593015dc12efdb4ff0fb2985e Reviewed-by: Christian Stenger --- .../howto/creator-only/creator-how-tos.qdoc | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/doc/qtcreator/src/howto/creator-only/creator-how-tos.qdoc b/doc/qtcreator/src/howto/creator-only/creator-how-tos.qdoc index d31fe7a97bd..b8e05b7ca2c 100644 --- a/doc/qtcreator/src/howto/creator-only/creator-how-tos.qdoc +++ b/doc/qtcreator/src/howto/creator-only/creator-how-tos.qdoc @@ -297,15 +297,31 @@ \section1 Examples of CLI commands + The following are examples of the commands on supported platforms when you + install \QC with \l{Get and Install Qt}{\QOI} to the default location. Change + the paths as necessary. + On Windows: \list - \li \c {C:\qtcreator\bin>qtcreator -help} + \li \c {C:\Qt\Tools\QtCreator\bin\qtcreator -help} - \li \c {C:\qtcreator\bin>qtcreator C:\TextFinder\textfinder.cpp:100:2} + \li \c {C:\Qt\Tools\QtCreator\bin\qtcreator C:\TextFinder\textfinder.cpp:100:2} - \li \c {C:\qtcreator\bin>qtcreator C:\TextFinder\textfinder.cpp +100+2} + \li \c {C:\Qt\Tools\QtCreator\bin\qtcreator C:\TextFinder\textfinder.cpp +100+2} + + \endlist + + On Linux: + + \list + + \li \c {~/Qt/Tools/QtCreator/bin/qtcreator -help} + + \li \c {~/Qt/Tools/QtCreator/bin/qtcreator /src/TextFinder/textfinder.cpp:100:2} + + \li \c {~/Qt/Tools/QtCreator/bin/qtcreator /src/TextFinder/textfinder.cpp+100+2} \endlist @@ -313,7 +329,7 @@ \list - \li \c {Qt\ Creator.app/Contents/MacOS/Qt\ Creator -help} + \li \c {~/Qt/Qt\ Creator.app/Contents/MacOS/Qt\ Creator -help} \endlist