2025-01-31 10:58:08 +01:00
|
|
|
// Copyright (C) 2025 The Qt Company Ltd.
|
2024-02-16 19:38:39 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
|
|
|
\previouspage design-viewer-single-page-navigation.html
|
|
|
|
\page qt-ui-viewer.html
|
|
|
|
\nextpage studio-exporting-and-importing.html
|
|
|
|
|
2024-12-03 19:28:20 +02:00
|
|
|
\title Viewing applications on Android
|
2024-02-16 19:38:39 +01:00
|
|
|
|
2025-01-31 10:58:08 +01:00
|
|
|
Run and preview your \QDS projects in \QUV with a
|
|
|
|
direct network connection in real-time.
|
2024-05-27 18:14:46 +02:00
|
|
|
|
2024-02-16 19:38:39 +01:00
|
|
|
\section1 Installing Qt UI Viewer
|
|
|
|
|
|
|
|
To install \QUV on your Android device:
|
|
|
|
\list 1
|
|
|
|
\li Open the Google Play store on your Android device.
|
|
|
|
\li Search for \QUV.
|
|
|
|
\li Select \uicontrol Install.
|
|
|
|
\endlist
|
2025-01-31 10:58:08 +01:00
|
|
|
\image qtuiviewer-appstore.webp Qt UI Viewer in the Google Play Store
|
2024-02-16 19:38:39 +01:00
|
|
|
|
2025-01-31 10:58:08 +01:00
|
|
|
\section1 Creating a network connection between \QDS and \QUV
|
2024-02-16 19:38:39 +01:00
|
|
|
|
2025-01-31 10:58:08 +01:00
|
|
|
\note Use the same network to connect both \QDS and your
|
|
|
|
Android device where you have installed \QUV.
|
2024-02-16 19:38:39 +01:00
|
|
|
\list 1
|
2025-01-31 10:58:08 +01:00
|
|
|
\li Open \QUV on your Android device. Find the IP address and note it down.
|
2024-02-16 19:38:39 +01:00
|
|
|
\li Open or create a project in \QDS.
|
2025-01-31 10:58:08 +01:00
|
|
|
\li Select \uicontrol Run dropdown from the top toolbar and select
|
|
|
|
\uicontrol {Device Manager}.
|
|
|
|
|
|
|
|
\image studio-run-dropdown.webp Device Manager in the Run dropdown
|
|
|
|
|
|
|
|
\li In \uicontrol {Set target device IP} write the IP address you have
|
|
|
|
noted from \QUV. Then, select \imageplus. Your device is now added
|
|
|
|
to the list of available devices.
|
|
|
|
\list
|
|
|
|
\li To update the device name, edit \uicontrol Alias.
|
|
|
|
\li To show your device in the \uicontrol Run dropdow,
|
|
|
|
always keep \uicontrol Enabled turned on.
|
|
|
|
\li If you are connected to the same network, and \QUV is running on your
|
|
|
|
Android device, the \uicontrol Status is Online.
|
|
|
|
\endlist
|
|
|
|
|
|
|
|
\image studio-devicemanager-add-device.webp {Add an device in the Device Manager}
|
2024-02-16 19:38:39 +01:00
|
|
|
\endlist
|
|
|
|
|
|
|
|
|
2025-01-31 10:58:08 +01:00
|
|
|
\note You can connect multiple Android devices to \QDS. Then, run a \QDS
|
|
|
|
project on any of the devices by selecting them from
|
|
|
|
\uicontrol Run dropdown, and selecting \imagerunproject.
|
2024-02-16 19:38:39 +01:00
|
|
|
|
2025-01-31 10:58:08 +01:00
|
|
|
\section1 Previewing a \QDS project in \QUV
|
2024-02-16 19:38:39 +01:00
|
|
|
|
2025-01-31 10:58:08 +01:00
|
|
|
Once you have created a network connection between \QDS and \QUV:
|
2024-02-16 19:38:39 +01:00
|
|
|
|
|
|
|
\list 1
|
2025-01-31 10:58:08 +01:00
|
|
|
\li Open or create a project in \QDS.
|
|
|
|
\li Open \QUV on your Android device.
|
|
|
|
\li Select your Android device from the \uicontrol Run dropdown.
|
|
|
|
\image studio-run-dropdown-with-added-device.webp {Android device listed in the Run dropdown}
|
2024-02-16 19:38:39 +01:00
|
|
|
|
2025-01-31 10:58:08 +01:00
|
|
|
\li Select \imagerunproject.
|
2024-02-16 19:38:39 +01:00
|
|
|
\endlist
|
|
|
|
|
2025-01-31 10:58:08 +01:00
|
|
|
Every time you close \QUV or \QDS, you need to follow the above process
|
|
|
|
to preview it again in \QUV.
|
2024-02-16 19:38:39 +01:00
|
|
|
|
2025-01-31 10:58:08 +01:00
|
|
|
To fit the preview on your Android device's screen, select \uicontrol Settings
|
|
|
|
in the \QUV and turn on \uicontrol Auto-scale. \QUV follows the orientation of your
|
|
|
|
Android device.
|
2024-02-16 19:38:39 +01:00
|
|
|
|
2025-01-31 10:58:08 +01:00
|
|
|
To keep your Android device awake, select \uicontrol Settings
|
|
|
|
in the \QUV and turn on \uicontrol {Keep screen on}.
|
|
|
|
|
|
|
|
\image qtuiviewer-settings.webp Settings of the Qt UI Viewer
|
|
|
|
|
|
|
|
\section1 Removing a connected Android device from \QDS
|
2024-02-16 19:38:39 +01:00
|
|
|
|
|
|
|
\list 1
|
2025-01-31 10:58:08 +01:00
|
|
|
\li Open or create a project in \QDS.
|
|
|
|
\li Select \uicontrol Run dropdown from the top toolbar and select
|
|
|
|
\uicontrol {Device Manager}.
|
|
|
|
\li Select the device you want to remove from the list of devices and
|
|
|
|
select \imageminus.
|
|
|
|
\image studio-devicemanager-remove-device.webp Remove a device from the Device Manager
|
2024-02-16 19:38:39 +01:00
|
|
|
\endlist
|
|
|
|
|
|
|
|
*/
|