このページでは

ビルドプロセスのカスタマイズ

プロジェクトのビルド、デプロイ、実行方法を設定するには、Preferences >Build & Run >General に移動します。

「ビルドと実行」設定の「一般」タブ

デフォルトでは、Always deploy project before running it (1) およびBuild the Whole Project (2) が選択されています。したがって、「実行」ボタン (Run) を選択すると、Qt Creator はプロジェクトファイルの変更を確認し、必要に応じてプロジェクトをビルドおよびデプロイします。

アプリケーションをビルドせずにデプロイする場合、または実行したいアプリケーションのみをビルドする場合は、Build before deploying で適切なオプションを選択してください。

ビルド前のアプリケーションの停止

デフォルトでは、プロジェクトの再ビルドの前に、プロジェクトに含まれるアプリケーションは停止されます。

現在のアプリケーションのみ、同じビルドディレクトリ内のアプリケーション、すべてのアプリケーション、またはアプリケーションを停止しない場合は、Stop applications before building で適切なオプションを選択してください。

jom を使用する

Windows では、プロジェクトのビルドに `nmake ` の代わりに `jom ` を使用することで、コンパイル処理を複数の CPU コアに分散させることができます。

jom を使用するには:

  1. Qt Downloads からjom をダウンロードします: jom.
  2. Use jom instead of nmake 」を選択します。

ビルドに失敗した場合は、チェックボックスをオフにしてください。

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.