creator-projects-settings-overview.qdoc 3.11 KB
Newer Older
1
2
3
4
/****************************************************************************
**
** This file is part of Qt Creator
**
5
** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies).
6
**
Eike Ziller's avatar
Eike Ziller committed
7
** Contact: http://www.qt-project.org/
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
**
**
** 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 index.html
28
    \previouspage creator-version-control.html
29
    \page creator-configuring-projects.html
30
    \nextpage creator-build-settings.html
31
32
33

    \title Configuring Projects

Leena Miettinen's avatar
Leena Miettinen committed
34
35
36
    \omit
    When you install the \QSDK, the build and run settings for the development
    targets
37
    delivered with the \QSDK are set up automatically.
Leena Miettinen's avatar
Leena Miettinen committed
38
    \endomit
39
40
41
42

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

43
    \image qtcreator-project-targets.png
44
45

    You can add a target if the development environment for the target platform
Leena Miettinen's avatar
Leena Miettinen committed
46
47
48
49
    is installed on the development PC and the target is configured in
    \gui Tools > \gui Options > \gui {Build & Run} > \gui Targets.

    Click
50
51
52
53
54
55
56
57
58
59
60
61
62
    \inlineimage qtcreator-qt4-addbutton.png "Add Target button"
    and select from a list of available targets. To remove a target, select it
    and click
    \inlineimage qtcreator-target-remove.png "Remove Target button"
    .

    You can select the targets and use the \gui Build menu commands to build,
    deploy, and run projects.

    The project pane consists of the following tabs:

    \list

Leena Miettinen's avatar
Leena Miettinen committed
63
        \o  \l{Adding Targets}{Targets}
Leena Miettinen's avatar
Leena Miettinen committed
64
65
66

            \list

67
68
69
70
71
72
73
                \o  \l{Specifying Build Settings}{Build Settings}

                \o  \l{Specifying Run Settings}{Run Settings}

            \endlist

                \note If you have installed the development environment for only
Leena Miettinen's avatar
Leena Miettinen committed
74
75
                    one target, the \gui Targets tab is replaced by a \gui Build
                    tab and a \gui Run tab.
76
                    If you have not configured the project for building, the
Leena Miettinen's avatar
Leena Miettinen committed
77
78
                    \gui Targets tab is replaced by the \l{Opening Projects}
                    {Configure Projects} tab.
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94

        \o  \l{Specifying Editor Settings}{Editor Settings}

        \o  \l{Specifying Code Style Settings}{Code Style Settings}

        \o  \l{Specifying Dependencies}{Dependencies}

    \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.

*/