summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2017-05-18 16:02:58 +0200
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2017-06-07 12:26:03 +0000
commit98237b517690bd0e23f164e5c6c789151c9fe139 (patch)
tree4919c2fe3456adb151d962a2f344883410b3e4ab
parentfeaff29b7803c7376bf58e5a22e790fee20b4d85 (diff)
downloadqt-creator-98237b517690bd0e23f164e5c6c789151c9fe139.tar.gz
Doc: Update deployment settings for B2Qt devices
Deploy step names have changed in Qt 5.9 and the generic Linux steps can now be used. Change-Id: I409cd2d7b289a22a3c958be32b78d6936074a535 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
-rw-r--r--doc/images/qtcreator-deployment-steps-b2qt-58.pngbin0 -> 56618 bytes
-rw-r--r--doc/src/linux-mobile/creator-deployment-embedded-linux.qdoc43
-rw-r--r--doc/src/linux-mobile/creator-projects-settings-run-b2qt.qdocinc7
3 files changed, 43 insertions, 7 deletions
diff --git a/doc/images/qtcreator-deployment-steps-b2qt-58.png b/doc/images/qtcreator-deployment-steps-b2qt-58.png
new file mode 100644
index 0000000000..8acc7c55c8
--- /dev/null
+++ b/doc/images/qtcreator-deployment-steps-b2qt-58.png
Binary files differ
diff --git a/doc/src/linux-mobile/creator-deployment-embedded-linux.qdoc b/doc/src/linux-mobile/creator-deployment-embedded-linux.qdoc
index 3cd78c322d..53c6bf0694 100644
--- a/doc/src/linux-mobile/creator-deployment-embedded-linux.qdoc
+++ b/doc/src/linux-mobile/creator-deployment-embedded-linux.qdoc
@@ -65,11 +65,11 @@
on the remote device. Additional files can be deployed by adding them to
further targets and adding those to \c INSTALLS as well.
- \section1 Deploying on Embedded Linux
+ \section1 Generic Deployment Steps
\image qtcreator-embedded-linux-deployment-details.png "Deploy to embedded Linux"
- When you run the application on the \uicontrol {Embedded Linux} device, \QC
+ When you run the application on the device, \QC
deploys the application as specified by the deploy steps. By default, \QC
copies the application files to the device by using the SSH file transfer
protocol (SFTP), as specified by the \uicontrol {Upload files via SFTP}
@@ -101,6 +101,45 @@
support will crash when an SFTP upload is being attempted. This is not a bug
in \QC.
+ \section1 Qt for Device Creation Deployment Steps
+
+ The deployment steps depend on the Qt for Device Creation version specified
+ in the kit.
+
+ \section2 Developing with Qt 5.8 or Earlier
+
+ The generic deployment steps are not available when developing with Qt for
+ Device Creation version 5.8 or earlier.
+
+ \image qtcreator-deployment-steps-b2qt-58.png
+
+ By default, \QC pushes the files to the device incrementally over an ADB
+ connection. When developing on Windows, executable permissions are set for
+ executable files after they are deployed to the device.
+
+ To execute custom commands, select \uicontrol {Add Deploy Step} >
+ \uicontrol {Custom Remote Command (via adb shell)} and enter the command to
+ execute.
+
+ \note You can add custom commands also as \l{Build Steps}{build steps}, to
+ have them executed when the application is built.
+
+ To have your application launch on boot, select \uicontrol {Add Deploy Step}
+ > \uicontrol {Make this application the default one}.
+
+ \section2 Developing with Qt 5.9 or Later
+
+ When developing with Qt for Device Creation version 5.9 or later, you can
+ specify the deployment steps described in this section in addition to the
+ generic deployment steps.
+
+ To execute custom commands when the application is deployed to the device,
+ select \uicontrol {Add Deploy Step} > \uicontrol {Run Custom Remote Command}
+ and enter the command to execute.
+
+ To have your application launch on boot, select \uicontrol {Add Deploy Step}
+ > \uicontrol {Change Default Application}.
+
\include creator-projects-cmake-deploying.qdocinc cmake deploying embedded
*/
diff --git a/doc/src/linux-mobile/creator-projects-settings-run-b2qt.qdocinc b/doc/src/linux-mobile/creator-projects-settings-run-b2qt.qdocinc
index 406cf59e3e..bbbe220a1d 100644
--- a/doc/src/linux-mobile/creator-projects-settings-run-b2qt.qdocinc
+++ b/doc/src/linux-mobile/creator-projects-settings-run-b2qt.qdocinc
@@ -37,14 +37,11 @@
\l{http://doc.qt.io/QtForDeviceCreation/index.html}{Qt for Device Creation}
documentation.
- When you run the application, \QC copies the files to the connected device.
-
The run settings display the path to the executable file on the development
host and on the device.
- To execute custom commands, select \uicontrol {Add Deploy Step} >
- \uicontrol {Custom Remote Command (via adb shell)} and enter the command to
- execute.
+ For more information on the deployment steps, see
+ \l{Deploying Applications to Embedded Linux Devices}.
//! [run settings embedded]
*/