Doc: Update info about run settings
Task-number: QTCREATORBUG-23364 Change-Id: I5753db6a82e62a371b9d5fb89c01d3ec87676ad3 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 8.3 KiB |
BIN
doc/qtcreator/images/qtcreator-settings-run.png
Normal file
After Width: | Height: | Size: 31 KiB |
@@ -1,6 +1,6 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
**
|
**
|
||||||
** Copyright (C) 2018 The Qt Company Ltd.
|
** Copyright (C) 2020 The Qt Company Ltd.
|
||||||
** Contact: https://www.qt.io/licensing/
|
** Contact: https://www.qt.io/licensing/
|
||||||
**
|
**
|
||||||
** This file is part of the Qt Creator documentation.
|
** This file is part of the Qt Creator documentation.
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
You can specify settings for deploying applications to generic Linux devices
|
You can specify settings for deploying applications to generic Linux devices
|
||||||
in the project .pro file. You can view the settings in the
|
in the project .pro file. You can view the settings in the
|
||||||
\uicontrol {Run Settings}.
|
\uicontrol Projects mode, in \uicontrol {Run Settings}.
|
||||||
|
|
||||||
\image qtcreator-embedded-linux-deployment-overview.png "Deploy to device"
|
\image qtcreator-embedded-linux-deployment-overview.png "Deploy to device"
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
**
|
**
|
||||||
** Copyright (C) 2017 The Qt Company Ltd.
|
** Copyright (C) 2020 The Qt Company Ltd.
|
||||||
** Contact: https://www.qt.io/licensing/
|
** Contact: https://www.qt.io/licensing/
|
||||||
**
|
**
|
||||||
** This file is part of the Qt Creator documentation.
|
** This file is part of the Qt Creator documentation.
|
||||||
@@ -45,8 +45,8 @@
|
|||||||
|
|
||||||
\image qtcreator-run-settings-linux.png "Run settings for Linux-based devices"
|
\image qtcreator-run-settings-linux.png "Run settings for Linux-based devices"
|
||||||
|
|
||||||
You can specify command line arguments to pass to your application in the
|
You can specify arguments to pass to your application in the
|
||||||
\uicontrol Arguments field.
|
\uicontrol {Command line arguments} field.
|
||||||
|
|
||||||
//! [run settings linux]
|
//! [run settings linux]
|
||||||
*/
|
*/
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
**
|
**
|
||||||
** Copyright (C) 2019 The Qt Company Ltd.
|
** Copyright (C) 2020 The Qt Company Ltd.
|
||||||
** Contact: https://www.qt.io/licensing/
|
** Contact: https://www.qt.io/licensing/
|
||||||
**
|
**
|
||||||
** This file is part of the Qt Creator documentation.
|
** This file is part of the Qt Creator documentation.
|
||||||
@@ -44,17 +44,25 @@
|
|||||||
To view and modify them, select \uicontrol Projects >
|
To view and modify them, select \uicontrol Projects >
|
||||||
\uicontrol {Build & Run} > \uicontrol Run.
|
\uicontrol {Build & Run} > \uicontrol Run.
|
||||||
|
|
||||||
The available run configurations are listed in the
|
\image qtcreator-settings-run.png "Run Settings"
|
||||||
\uicontrol {Run configuration} field.
|
|
||||||
To add run configurations for a project, select \uicontrol Add.
|
|
||||||
To remove the current run configuration, select \uicontrol Remove.
|
|
||||||
To rename the current run configuration, select \uicontrol Rename.
|
|
||||||
|
|
||||||
To prevent \QC from automatically creating run configurations, select
|
To prevent \QC from automatically creating run configurations, select
|
||||||
\uicontrol Tools > \uicontrol Options > \uicontrol {Build & Run},
|
\uicontrol Tools > \uicontrol Options > \uicontrol {Build & Run},
|
||||||
and then deselect the \uicontrol {Create suitable run configurations
|
and then deselect the \uicontrol {Create suitable run configurations
|
||||||
automatically} check box.
|
automatically} check box.
|
||||||
|
|
||||||
|
\section1 Managing Run Configurations
|
||||||
|
|
||||||
|
The available run configurations are listed in the
|
||||||
|
\uicontrol {Run configuration} field.
|
||||||
|
To add run configurations for a project, select \uicontrol Add. To
|
||||||
|
add a run configuration that is based on the current one, select
|
||||||
|
\uicontrol Clone.
|
||||||
|
|
||||||
|
To rename the current run configuration, select \uicontrol Rename.
|
||||||
|
|
||||||
|
To remove the current run configuration, select \uicontrol Remove.
|
||||||
|
|
||||||
The run configurations for qmake projects derive their executable from the
|
The run configurations for qmake projects derive their executable from the
|
||||||
parsed .pro files. For more information on how the commands are constructed,
|
parsed .pro files. For more information on how the commands are constructed,
|
||||||
see \l{Starting External Processes}.
|
see \l{Starting External Processes}.
|
||||||
|
@@ -59,7 +59,7 @@
|
|||||||
command line arguments to be passed to the executable.
|
command line arguments to be passed to the executable.
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
If you want to run some other Python file than \c main.py, create a custom
|
If you want to run some other Python file than \c main.py, create a custom
|
||||||
executable run configuration:
|
executable run configuration:
|
||||||
|
|
||||||
\image qtcreator-python-run-settings-custom-executable.png
|
\image qtcreator-python-run-settings-custom-executable.png
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
**
|
**
|
||||||
** Copyright (C) 2017 The Qt Company Ltd.
|
** Copyright (C) 2020 The Qt Company Ltd.
|
||||||
** Contact: https://www.qt.io/licensing/
|
** Contact: https://www.qt.io/licensing/
|
||||||
**
|
**
|
||||||
** This file is part of the Qt Creator documentation.
|
** This file is part of the Qt Creator documentation.
|
||||||
@@ -33,7 +33,9 @@
|
|||||||
|
|
||||||
\list
|
\list
|
||||||
|
|
||||||
\li In the \uicontrol Arguments field, you can specify command line arguments
|
\li In the \uicontrol {QML Viewer} field, specify the \QQV to use.
|
||||||
|
|
||||||
|
\li In the \uicontrol {Command line arguments} field, specify arguments
|
||||||
to be passed to the executable.
|
to be passed to the executable.
|
||||||
|
|
||||||
\li In the \uicontrol {Main QML file}, select the file that \QQV will be
|
\li In the \uicontrol {Main QML file}, select the file that \QQV will be
|
||||||
|