Qt

Specifying Dependencies

If you have multiple projects loaded in a session, you can define the order in which they are built. For example, if project A depends on project B, project B must be built first.

Note: The build order is stored as a property of a session, not a project. You must open the session for these settings to take effect. For more information, see Managing Sessions.

"Dependencies view"

To define the build order of projects within a session:

  1. In Projects, select a project.
  2. Click Dependencies.
  3. Select projects that must be built before the current project is built.

Qt Creator calculates the build order based on the dependencies that you specify for the projects loaded in the session.

Note: You cannot use this view to specify subprojects for projects. For more information on how to add subprojects, see Adding Subprojects to Projects.