Mesonのビルド設定
選択したキットのビルド設定を指定するには、[Projects ] > [Build Settings] に移動します。

Meson は、「Build directory 」フィールドで指定されたディレクトリ内のプロジェクトをビルドします。
ビルド設定はカテゴリごとにグループ化されています。Qt Creator との互換性を確保するため、「backend 」、「buildtype 」、「debug 」、「optimization 」は Ninja に固定されていますが、それ以外のすべての設定は変更可能です。
設定を変更するには、その項目をダブルクリックします。変更された設定は、「Apply configuration changes 」を選択して適用するまで太字で表示されます。これにより「meson configure 」が実行されます。問題が発生した場合は、「Wipe Project 」を選択してビルドディレクトリの設定を修正してください。
Mesonは、ネイティブビルドに加え、クロスコンパイルもサポートしています。「Qt Creator 」を選択すると、ネイティブビルドファイルが自動的に生成されます。代わりにカスタムネイティブファイルやクロスファイルを使用する場合は、「Parameters 」でファイル名を指定してください。例:--cross-file cross_file.txt 。
Meson のビルド手順
Qt Creator meson compile --verbose target を実行することで、Meson プロジェクトをビルドします。
Build Steps 内で、ビルドコマンドの引数やターゲットを追加できます。

ビルド時のエラーや警告は解析され、Issuesに表示されます。
Meson のクリーン手順
Meson を使用してビルドする場合、Clean Steps でクリーンコマンドの引数やターゲットを追加できます。

ビルドのエラーや警告は解析され、Issues に表示されます。
「プロジェクトのキットの有効化」、「ビルドのためのプロジェクトの設定」、「実行のためのプロジェクトの設定」、「プロジェクトのオープン」、「プロジェクトのビルドと実行」、および「Meson」も参照してください 。
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.