Qt Creator Manual | Managing Projects

Qt Creator Manual 4.6.2

Creating a Mobile Application ◦ Creating Projects

# Managing Projects

One of the major advantages of Qt Creator is that it allows a team of developers to share a project across different development platforms with a common tool for development and debugging.

- Creating Projects

  To set up a project, you first have to decide what kind of an application you want to develop: do you want a user interface based on Qt Quick or Qt widgets. Second, you have to choose the language to implement the application logic: C++ or JavaScript.

- Using Version Control Systems

  The recommended way to set up a project is to use a version control system. Store and edit only project source files and build system configuration files (for example, .pro and .pri files for qmake). Do not store files generated by the build system or Qt Creator, such as makefiles, .pro.user, and object files.

- Configuring Projects

  Qt Creator allows you to specify separate build settings for each development platform. By default, shadow builds are used to keep the build specific files separate from the source. You can create separate versions of project files to keep platform-dependent code separate. You can use qmake scopes to select the file to process depending on which platform qmake is run on.

- Managing Sessions

  Items such as open files, breakpoints, and evaluated expressions are stored in sessions. They are not considered to be part of the information shared across platforms.

## Related Topics

- Using Other Build Systems

Creating a Mobile Application ◦ Creating Projects