From 4b7536fa148af8df9a6ce74bd1e659015717f74f Mon Sep 17 00:00:00 2001 From: Piotr Mikolajczyk Date: Wed, 8 Sep 2021 14:49:14 +0200 Subject: [PATCH] Update docs on Qml preview on Android Now just enabled the documentation generation of the section referring to Android Change-Id: I56861685b933ba3ad4e9457a78c68075f2de848f Reviewed-by: Leena Miettinen Reviewed-by: Nicholas Bennett --- .../src/qtquick/qtquick-live-preview-devices.qdoc | 7 ++----- doc/qtcreator/src/qtquick/qtquick-live-preview.qdoc | 7 +++++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/qtcreator/src/qtquick/qtquick-live-preview-devices.qdoc b/doc/qtcreator/src/qtquick/qtquick-live-preview-devices.qdoc index 0b3cde02ea8..be0fc911312 100644 --- a/doc/qtcreator/src/qtquick/qtquick-live-preview-devices.qdoc +++ b/doc/qtcreator/src/qtquick/qtquick-live-preview-devices.qdoc @@ -30,10 +30,9 @@ \title Previewing on Devices - \omit To preview UIs on Android devices, you need to enable USB debugging on them and connect them to your system with a USB cable. - \endomit + To preview UIs on Boot2Qt devices, you need to connect the devices to your system with a USB cable, or a wired or wireless connection, depending on the device, and configure connections to them. The necessary kits have been @@ -58,11 +57,10 @@ press \key {Alt+P}. \endlist - \omit \section2 Previewing on Android Devices The USB debugging feature on Android devices enables creating connections - to the devices from \QDS and running the live preview utility on them. + to the devices from \QDS and running the preview utility on them. Debugging is enabled in different ways on different Android devices. Look for \uicontrol {USB Debugging} under \uicontrol {Developer Options}. @@ -77,7 +75,6 @@ is copied to them. This might take some time. Thereafter, previewing will get faster, because only the UI files need to be copied to the device. - \endomit \section2 Previewing on Boot2Qt Devices diff --git a/doc/qtcreator/src/qtquick/qtquick-live-preview.qdoc b/doc/qtcreator/src/qtquick/qtquick-live-preview.qdoc index f6577915c94..42455f44004 100644 --- a/doc/qtcreator/src/qtquick/qtquick-live-preview.qdoc +++ b/doc/qtcreator/src/qtquick/qtquick-live-preview.qdoc @@ -31,9 +31,12 @@ \title Validating with Target Hardware You can use the live preview feature to preview a UI file or the entire - UI on the desktop, as well as on Android and embedded Linux + UI on the desktop, as well as on embedded Linux devices. The changes you make to the UI are instantly visible - to you in the preview. + to you in the preview. While the preview is available on Android devices, + it does not instantly reflect the changes made to the UI in the editor. It + shows the snapshot of your project from the moment you start the preview on + the device. In addition, you can use \QDV to run \if defined(qtcreator)