forked from qt-creator/qt-creator
Doc: Add Linux examples of CLI commands
Fixes: QTCREATORBUG-31620 Change-Id: I2993801a60a93d9593015dc12efdb4ff0fb2985e Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -297,15 +297,31 @@
|
|||||||
|
|
||||||
\section1 Examples of CLI commands
|
\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:
|
On Windows:
|
||||||
|
|
||||||
\list
|
\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
|
\endlist
|
||||||
|
|
||||||
@@ -313,7 +329,7 @@
|
|||||||
|
|
||||||
\list
|
\list
|
||||||
|
|
||||||
\li \c {Qt\ Creator.app/Contents/MacOS/Qt\ Creator -help}
|
\li \c {~/Qt/Qt\ Creator.app/Contents/MacOS/Qt\ Creator -help}
|
||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user