Home · Editor · Code Navigation · Shortcuts · Wiki

[Previous: Qt Version Management] [Qt Creator Manual] [Next: CMake Support in Qt Creator]

Project Settings

Note: This page describes Qt Creator's support for qmake. For information on CMake support, see CMake Support in Qt Creator.

To modify the project settings of your project, switch to the Projects mode by using the mouse or pressing Ctrl+4.

The project pane is divided into two areas. The currently active settings are displayed at the top. The active build and run configuration for all projects can be changed there. The bottom area allows you to quickly get an overview of the build, run and editor settings as well as the dependencies between your projects. It also allows you to edit those settings.

Build Settings

Build configurations allow you to quickly switch between different build settings. By default, Qt Creator creates a debug and a release build configuration. Both of these configurations use the default Qt version. Action items to create, clone, or delete build configurations can be found at the top. You can have as many build configurations as necessary. To edit settings, click on the Show Details button. Here you can specify which Qt version to use to build your project, or whether to shadow build the project, for instance.

The build system of Qt Creator is built on top of qmake and make. The settings for qmake and make can be changed. Qt Creator runs the make command using the correct Qt version.

In the Build Environment section you can specify the environment used for building. By default, the environment in which Qt Creator was started is used and modified to include the Qt version. Depending on the selected Qt version, Qt Creator automatically sets the necessary environment variables.

Run Settings

Qt Creator automatically creates run configurations for your project. These run configurations derive their executable from the parsed .pro files. You can also create custom executable run configurations where you can freely set the executable to be run.

Dependencies

If you have multiple projects loaded in your session, you can configure dependencies between them. This affects the build order of your projects. To do this:

  1. Select the project for which you want to configure the dependencies.
  2. Go to the Dependencies section.
  3. Check the checkboxes to select other projects as dependencies.

Note: This is unrelated to the dependencies inside a qmake project.

[Previous: Qt Version Management] [Qt Creator Manual] [Next: CMake Support in Qt Creator]


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Creator 1.3.0