creator-projects-settings-overview.qdoc 3.33 KB
Newer Older
1
2
/****************************************************************************
**
3
** Copyright (c) 2014 Digia Plc and/or its subsidiary(-ies).
hjk's avatar
hjk committed
4
** Contact: http://www.qt-project.org/legal
5
**
hjk's avatar
hjk committed
6
** This file is part of Qt Creator
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
**
**
** 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.
// **********************************************************************

/*!
26
    \contentspage {Qt Creator Manual}
27
    \previouspage creator-version-control.html
28
    \page creator-configuring-projects.html
29
    \nextpage creator-targets.html
30
31
32

    \title Configuring Projects

33
34
35
    When you install Qt for a target platform, such as Android or QNX, the
    build and run settings for the development targets might be set up
    automatically in \QC.
36
37
38
39

    To view and modify the settings for currently open projects, switch to the
    \gui Projects mode by pressing \key Ctrl+5.

40
41
42
    You can select build and run \l{glossary-buildandrun-kit}{kits} for the
    open projects and use the \gui Build menu commands to build, deploy, and
    run projects.
43

44
45
46
47
48
49
50
51
52
53
54
    \section1 Selecting Kits

    \image qtcreator-project-targets.png

    To add kits for the project, select \gui {Add Kit}. The list displays kits
    that are configured in \gui Tools > \gui Options > \gui {Build & Run} >
    \gui Kits. To add kits to the list, select \gui {Manage Kits}.
    For more information about adding kits, see \l{Adding Kits}.

    Each kit consists of a set of values that define one environment, such as a
    device, compiler, and Qt version. For more information, see
55
    \l{Adding Qt Versions}, \l{Adding Compilers}, and \l{Adding Debuggers}.
56
57
58
59
60
61
62
63
64
65
66

    To copy the build and run settings for a kit to another kit, select
    \gui {Copy to Kit} in the kit menu.

    To change the kit, while preserving the build and run settings, select
    \gui {Change Kit}.

    To remove a kit, select \gui {Remove Kit}.

    \section1 Specifying Settings

67
68
69
70
    The project pane consists of the following tabs:

    \list

71
        \li Build & Run
Leena Miettinen's avatar
Leena Miettinen committed
72
73
74

            \list

75
                \li \l{Specifying Build Settings}{Build Settings}
76

77
                \li \l{Specifying Run Settings}{Run Settings}
78
79
80

            \endlist

81
                \note If you have not configured the project for building, the
82
                    \gui {Build & Run} tab is replaced by the \l{Opening Projects}
Leena Miettinen's avatar
Leena Miettinen committed
83
                    {Configure Projects} tab.
84

85
        \li \l{Specifying Editor Settings}{Editor Settings}
86

87
        \li \l{Specifying Code Style Settings}{Code Style Settings}
88

89
        \li \l{Specifying Dependencies}{Dependencies}
90
91
92
93
94
95
96
97
98
99

    \endlist

    Use the \gui Build and \gui Run buttons to switch between the build and
    run settings for the active project.

    If you have multiple projects open in \QC, use the tabs at the top of the
    window to navigate between their settings.

*/