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 <riitta-leena.miettinen@qt.io>
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
This commit is contained in:
Piotr Mikolajczyk
2021-09-08 14:49:14 +02:00
parent 19abb9f877
commit 4b7536fa14
2 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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)