デバッグを有効にする
キット用に選択した「Run device」上でアプリケーションを実行するための設定を指定するには、Projects >Run Settings に移動します。

デバッグする言語を選択するには、Debugger Settings >C++ debugger 、QML debugger 、またはPython debugger で、Automatic またはEnabled を選択します。
C++のデバッグ
Additional startup commands では、C++ のデバッグに関する追加設定を行うことができます:
- カスタムデバッグヘルパー
- GDBの起動後、デバッグ対象のプログラムが起動またはアタッチされる前、かつデバッグヘルパーが初期化される前に実行するGDBコマンド
ただし、通常はこのフィールドを空のままにしておいても問題ありません。
デバッグQt Quick
よく知られたポートでソケットを開くと、セキュリティ上のリスクが生じます。インターネット上の誰でも、デバッグ中のアプリケーションに接続し、任意の JavaScript 関数を実行できてしまう可能性があります。したがって、そのポートがファイアウォールによって適切に保護されていることを確認してください。
Qt Quick アプリケーションプロジェクトのデバッグをサポートするビルド構成を作成するには、グローバルに、またはプロジェクトのBuild Settings でQMLデバッグを有効にする必要があります。
「プロジェクトのビルドと実行」、「ハウツー:デバッグ」、「デバッグ」、「デバッガー」も参照してください 。
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.