/****************************************************************************
**
** Copyright (c) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator
**
**
** GNU Free Documentation License
**
** Alternatively, this file may be used under the terms of the GNU Free
** Documentation License version 1.3 as published by the Free Software
** Foundation and appearing in the file included in the packaging of this
** file.
**
**
****************************************************************************/

// **********************************************************************
// NOTE: the sections are not ordered by their logical order to avoid
// reshuffling the file each time the index order changes (i.e., often).
// Run the fixnavi.pl script to adjust the links to the index order.
// **********************************************************************

/*!
    \contentspage {Qt Creator Manual}
    \previouspage creator-configuring.html
    \page creator-build-example-application.html
    \nextpage creator-tutorials.html

    \title Building and Running an Example

    You can test that your \QSDK installation is successful by opening an existing
    example application project.

    To run an example application on an Android or iOS device, you must set up
    the development environment for Android or iOS. For more information, see
    \l{Connecting Android Devices} and \l{Connecting iOS Devices}.

    \list 1

        \li In the \gui Welcome mode, select \gui Examples (1).

            \image qtcreator-gs-build-example-open.png "Selecting an example"

        \li Select an example in the list of examples.

            You can also search for examples (2). Enter the \gui android or
            \gui iOS keyword in the search field to list all the examples tested
            for Android or iOS.

            \note The project opens in the \gui Edit mode, and the documentation
            for the example hides these instructions. To return to these
            instructions, select \gui {Previous Page} on the toolbar or
            press \key {Alt+Left}.

        \li To check that the application code can be compiled and linked for a
            device, click the \gui {Kit Selector} and select a
            \l{glossary-buildandrun-kit}{kit} for the
            device.

            \image qtcreator-gs-build-example-kit-selector.png "Selecting a kit to build with"

            If you installed \QC as part of a Qt installation, it should have
            automatically detected the installed kit. If no kits are available,
            see \l{Adding Kits}.

        \li Click
            \inlineimage qtcreator-run.png
            (\gui Run) to build and run the application.

        \li To see the compilation progress, press \key{Alt+4} to open the
            \gui {Compile Output} pane.

            If build errors occur, check that a \l{Adding Qt Versions}
            {Qt version} and \l{Adding Compilers}{compiler} are installed and
            configured and that the necessary kits are configured. If you are
            building for an \l{Connecting Android Devices}{Android device} or
            \l{Connecting iOS Devices}{iOS device}, check that the development
            environment has been set up correctly.

            The \gui Build progress bar on the toolbar turns green when the
            project is successfully built. The application opens on the device.

    \endlist

*/
