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

{Dependencies settings in Projects mode}

To define the build order of projects within a session:

  1. Select Projects > Project Settings > Dependencies.
  2. Select projects that must be built before the current project is built.
  3. Select the Synchronize configuration check box to use the same kit as well as the same build and deploy configuration to build and deploy all dependent projects loaded in a session.

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.

See also Add subprojects to projects and Manage sessions.

© 2024 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.