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.

© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.