依存関係の指定
セッションに複数のプロジェクトがロードされている場合、それらのビルド順序を定義することができます。例えば、プロジェクトAがプロジェクトBに依存している場合、プロジェクトBを最初にビルドする必要があります。
注: ビルド順序は、プロジェクトではなくセッションのプロパティとして保存されます。これらの設定を有効にするには、セッションを開く必要があります。

セッション内のプロジェクトのビルド順序を定義するには
- Projects >Project Settings >Dependencies に進みます。
- 現在のプロジェクトをビルドする前にビルドする必要があるプロジェクトを選択します。
- Synchronize configuration を選択すると、同じキットと同じビルド/デプロイ設定を使用して、セッションにロードされたすべての依存プ ロジェクトをビルドおよびデプロイします。
- ビルドされた依存プロジェクトをデプロイするには、Deploy dependencies を選択します。
Qt Creator は、セッションにロードされたプロジェクトに指定した依存関係に基づいて、ビルド順序を計算します。
注: このビューを使用して、プロジェクトのサブプロジェクトを指定することはできません。
プロジェクトにサブプロジェクトを追加する」および「セッションを管理する」も参照して ください。
Copyright © The Qt Company Ltd. and other contributors. 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.