コードモデルを調査する

C++ コードモデルに関連するバグを報告する場合、Qt Creator の開発チームから、コードモデルの内部状態に関する情報をログファイルに書き出し、そのファイルを調査のために提出するよう求められることがあります。

C++ Code Model Inspector ダイアログでC++コードモデルに関する情報を表示し、それをログファイルに書き出すには、[Tools ] > Debug Qt Creator >Inspect C++ Code Model を選択するか、Ctrl+Shift+F12 を押します。

「コードモデルインスペクタ」ダイアログ

Qt Creator これにより、コードモデル検査ログファイルが一時フォルダに生成されます。

Qt Creator Edit モードの C++ コードエディタでは、olive 内のセマンティックエラーに下線が引かれます。解決されていない、または誤ったファイルに解決されているインクルードの正しいパスを確認するには、[ ] > [ ] を選択します。Project Parts Header Paths

「手順: コードの編集」、「コードの編集」、「Clang コードモデル」、および「コードモデルも参照してください

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.