creator-tutorial-create-qq-project.qdocinc 3.02 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
/****************************************************************************
**
** Copyright (C) 2017 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Creator documentation.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** GNU Free Documentation License Usage
** 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. Please review the following information to ensure
** the GNU Free Documentation License version 1.3 requirements
** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
**
****************************************************************************/

/*!
//! [qt quick application]

29 30 31 32 33 34 35 36 37 38 39 40
    \section1 Creating the Project

    \list 1

        \li Select \uicontrol File > \uicontrol {New File or Project} >
            \uicontrol Application > \uicontrol {Qt Quick Controls Application}
            > \uicontrol Choose.

        \li In the \uicontrol Name field, enter a name for the application.

        \li In the \uicontrol {Create in} field, enter the path for the project
            files, and then select \uicontrol Next (or \uicontrol Continue on
41
            \macos).
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60

        \li In the \uicontrol {Minimal required Qt version} field, select
            \uicontrol {Qt 5.4}, or later.

        \li Deselect the \uicontrol {Enable native styling} check box to keep
            the application size small. Enabling native styling would create
            a dependency to the Qt Widgets module.

        \li Select \uicontrol Next.

        \li Select \l{glossary-buildandrun-kit}{kits} for the platforms that
            you want to build the application for. To build applications for
            mobile devices, select kits for Android ARM and iPhone OS, and
            click \uicontrol{Next}.

            \note Kits are listed if they have been specified in \uicontrol
            Tools > \uicontrol Options > \uicontrol {Build & Run} >
            \uicontrol Kits (on Windows and Linux) or in \uicontrol {Qt Creator}
            > \uicontrol Preferences \uicontrol {Build & Run} > \uicontrol Kits
61
            (on \macos).
62 63 64 65

        \li Select \uicontrol Next.

        \li Review the project settings, and click \uicontrol{Finish} (or
66
            \uicontrol Done on \macos).
67 68 69 70 71 72

    \endlist

    \QC generates a UI file, \e MainForm.ui.qml, that you can modify in the
    \uicontrol Design mode and a QML file, \e main.qml, that you can modify in
    the \uicontrol Edit mode to add the application logic.
73 74 75

//! [qt quick application]
*/