このページでは

デバッグを有効にする

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

「実行設定」内の「デバッガ設定」セクション

デバッグする言語を選択するには、Debugger Settings >C++ debuggerQML debugger 、またはPython debugger で、Automatic またはEnabled を選択します。

C++のデバッグ

Additional startup commands では、C++ のデバッグに関する追加設定を行うことができます:

ただし、通常はこのフィールドを空のままにしておいても問題ありません。

デバッグQt Quick

よく知られたポートでソケットを開くと、セキュリティ上のリスクが生じます。インターネット上の誰でも、デバッグ中のアプリケーションに接続し、任意の JavaScript 関数を実行できてしまう可能性があります。したがって、そのポートがファイアウォールによって適切に保護されていることを確認してください。

Qt Quick アプリケーションプロジェクトのデバッグをサポートするビルド構成を作成するには、グローバルに、またはプロジェクトのBuild SettingsQMLデバッグを有効にする必要があります。

プロジェクトのビルドと実行」、「ハウツー:デバッグ」、「デバッグ」、「デバッガーも参照してください

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.