// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only

/*!
    \page creator-live-preview.html
    \if defined(qtdesignstudio)
    \previouspage quick-states.html
    \else
    \previouspage creator-building-running.html
    \endif
    \nextpage creator-live-preview-desktop.html

    \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 embedded Linux
    devices. The changes you make to the UI are instantly visible
    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)
    \l{Creating Qt Quick UI Projects}{Qt Quick UI projects}
    \else
    applications
    \endif
    in most widely-used web browsers on the desktop and in mobile devices This
    enables you to easily share your designs with reviewers who don't have \QC.

    \if defined(qtcreator)
    \image qtcreator-live-preview.png
    \else
    \image studio-live-preview.png
    \endif

    \list
        \li \l{Previewing on Desktop}

            You can preview individual QML files or the whole UI.
        \li \l{Previewing on Devices}

            \if defined(qtcreator)
            You can preview Qt Quick applications on devices that you have
            connected to the development PC. For more information, see
            \l {Connecting Devices}.
            \else
            When you install \QDS, everything you need for previewing on
            devices is set up automatically. You only need to connect your
            devices to your system.
            \endif

        \if defined(qtdesignstudio)
        \li \l{Previewing Android applications}

            You can preview Android applications live using an Android
            emulator.

        \endif
        \li \l{Previewing in Browsers}

            You can open \l{https://qt-webassembly.io/designviewer/}{\QDV}
            in a browser and load applications to it.
    \endlist
*/
