forked from qt-creator/qt-creator
Doc: Reformat text
Add a \c, split \uicontrols, but no other text changes Change-Id: Ieadf1c277875a9617ab633084f122975cf68e661 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
This commit is contained in:
@@ -31,8 +31,7 @@
|
|||||||
\title Deploying Applications to Embedded Linux Devices
|
\title Deploying Applications to Embedded Linux Devices
|
||||||
|
|
||||||
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.
|
in the project .pro file. You can view the settings in the
|
||||||
You can view the settings in the
|
|
||||||
\uicontrol {Run Settings}.
|
\uicontrol {Run Settings}.
|
||||||
|
|
||||||
\image qtcreator-embedded-linux-deployment-overview.png "Deploy to device"
|
\image qtcreator-embedded-linux-deployment-overview.png "Deploy to device"
|
||||||
@@ -42,8 +41,8 @@
|
|||||||
field displays the location of the file on the development PC. The
|
field displays the location of the file on the development PC. The
|
||||||
\uicontrol {Remote Directory} field displays the folder where the file is
|
\uicontrol {Remote Directory} field displays the folder where the file is
|
||||||
installed on the device. Text in red color indicates that the information is
|
installed on the device. Text in red color indicates that the information is
|
||||||
missing. Edit the qmake \l{Variables#installs}
|
missing. Edit the qmake \l{Variables#installs} {INSTALLS variable} in the
|
||||||
{INSTALLS variable} in the project .pro file to add the missing files.
|
project \c .pro file to add the missing files.
|
||||||
|
|
||||||
When you run the application, \QC copies the necessary files to the device
|
When you run the application, \QC copies the necessary files to the device
|
||||||
and starts the application on it.
|
and starts the application on it.
|
||||||
@@ -63,34 +62,36 @@
|
|||||||
|
|
||||||
\image qtcreator-embedded-linux-deployment-details.png "Deploy to embedded Linux"
|
\image qtcreator-embedded-linux-deployment-details.png "Deploy to embedded Linux"
|
||||||
|
|
||||||
When you run the application on the \uicontrol {Embedded Linux} device,
|
When you run the application on the \uicontrol {Embedded Linux} device, \QC
|
||||||
\QC deploys the application as specified by the deploy steps. By default,
|
deploys the application as specified by the deploy steps. By default, \QC
|
||||||
\QC copies the application files to the device by using the SSH file
|
copies the application files to the device by using the SSH file transfer
|
||||||
transfer protocol (SFTP), as specified by the \uicontrol {Upload files via SFTP}
|
protocol (SFTP), as specified by the \uicontrol {Upload files via SFTP}
|
||||||
step.
|
step.
|
||||||
|
|
||||||
If you have a lot of data to copy, select \uicontrol Details in the
|
If you have a lot of data to copy, select \uicontrol Details in the
|
||||||
\uicontrol {Upload Files via SFTP} step, and then select the
|
\uicontrol {Upload Files via SFTP} step, and then select the
|
||||||
\uicontrol {Incremental deployment} check box. \QC takes note of the deployment
|
\uicontrol {Incremental deployment} check box. \QC takes note of the
|
||||||
time and only copies files that have changed since the last deployment.
|
deployment time and only copies files that have changed since the last
|
||||||
However, when you make major changes on the device, such as removing files
|
deployment. However, when you make major changes on the device, such as
|
||||||
from the device manually or flashing a new disk image, or when you use
|
removing files from the device manually or flashing a new disk image, or
|
||||||
another device with the same IP address, deselect the check box once, to
|
when you use another device with the same IP address, deselect the check box
|
||||||
have \QC deploy all files again.
|
once, to have \QC deploy all files again.
|
||||||
|
|
||||||
To only create a tarball and not copy the files to the device, select
|
To only create a tarball and not copy the files to the device, select
|
||||||
\uicontrol {Add Deploy Step > Create tarball}. Then remove all other deploy steps.
|
\uicontrol {Add Deploy Step} > \uicontrol {Create tarball}. Then remove all
|
||||||
|
other deploy steps.
|
||||||
|
|
||||||
The \uicontrol {Deploy tarball via SFTP upload} step specifies that \QC
|
The \uicontrol {Deploy tarball via SFTP upload} step specifies that \QC
|
||||||
uploads the tarball to the device and extracts it.
|
uploads the tarball to the device and extracts it.
|
||||||
|
|
||||||
The \uicontrol {Check for free disk space} step is by default the first deploy step.
|
The \uicontrol {Check for free disk space} step is by default the first
|
||||||
Use it to find out whether the remote file system has enough space left to deploy your project.
|
deploy step. Use it to find out whether the remote file system has enough
|
||||||
Errors due to lack of disk space can otherwise be hard to detect.
|
space left to deploy your project. Errors due to lack of disk space can
|
||||||
|
otherwise be hard to detect.
|
||||||
|
|
||||||
\note If the SFTP upload fails, make sure that the remote device has
|
\note If the SFTP upload fails, make sure that the remote device has SFTP
|
||||||
SFTP enabled in its SSH daemon. Some versions of Dropbear that come
|
enabled in its SSH daemon. Some versions of Dropbear that come without SFTP
|
||||||
without SFTP support will crash when an SFTP upload is being attempted.
|
support will crash when an SFTP upload is being attempted. This is not a bug
|
||||||
This is not a bug in \QC.
|
in \QC.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user