forked from qt-creator/qt-creator
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:
@@ -30,10 +30,9 @@
|
|||||||
|
|
||||||
\title Previewing on Devices
|
\title Previewing on Devices
|
||||||
|
|
||||||
\omit
|
|
||||||
To preview UIs on Android devices, you need to enable USB debugging on them
|
To preview UIs on Android devices, you need to enable USB debugging on them
|
||||||
and connect them to your system with a USB cable.
|
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
|
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
|
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
|
the device, and configure connections to them. The necessary kits have been
|
||||||
@@ -58,11 +57,10 @@
|
|||||||
press \key {Alt+P}.
|
press \key {Alt+P}.
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\omit
|
|
||||||
\section2 Previewing on Android Devices
|
\section2 Previewing on Android Devices
|
||||||
|
|
||||||
The USB debugging feature on Android devices enables creating connections
|
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.
|
Debugging is enabled in different ways on different Android devices.
|
||||||
Look for \uicontrol {USB Debugging} under \uicontrol {Developer Options}.
|
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
|
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
|
get faster, because only the UI files need to be copied to the
|
||||||
device.
|
device.
|
||||||
\endomit
|
|
||||||
|
|
||||||
\section2 Previewing on Boot2Qt Devices
|
\section2 Previewing on Boot2Qt Devices
|
||||||
|
|
||||||
|
@@ -31,9 +31,12 @@
|
|||||||
\title Validating with Target Hardware
|
\title Validating with Target Hardware
|
||||||
|
|
||||||
You can use the live preview feature to preview a UI file or the entire
|
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
|
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
|
In addition, you can use \QDV to run
|
||||||
\if defined(qtcreator)
|
\if defined(qtcreator)
|
||||||
|
Reference in New Issue
Block a user