creator-projects-settings-overview.qdoc 3.54 KB
Newer Older
1
2
/****************************************************************************
**
Eike Ziller's avatar
Eike Ziller committed
3
4
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing
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

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

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

44
45
    \section1 Selecting Kits

46
    \image qtcreator-project-kits.png
47

48
49
50
    To add kits for the project, select \uicontrol {Add Kit}. The list displays kits
    that are configured in \uicontrol Tools > \uicontrol Options > \uicontrol {Build & Run} >
    \uicontrol Kits. To add kits to the list, select \uicontrol {Manage Kits}.
51
52
53
54
    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

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

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

63
    To remove a kit, select \uicontrol {Remove Kit}.
64
65
66

    \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
                    \uicontrol {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
        \li \l{Using Clang Static Analyzer}{Clang Static Analyzer Settings}
            (commercial only)

94
95
        \li \l{To-Do List}{To-Do Settings} (experimental)

96
97
    \endlist

98
    Use the \uicontrol Build and \uicontrol Run buttons to switch between the build and
99
100
101
102
103
104
    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.

*/