コードモデルの検査

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

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

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

Qt Creator コード・モデル検査ログ・ファイルを一時フォルダに生成します。

Qt Creator Edit モードの C++ コード・エディターで、オリーブのセマンティック・エラーに下線を引きます。解決されていない、または間違ったファイルに解決されているインクルードの正しいパスを確認するには、 > にアクセスしてください。Project Parts Header Paths

How To: Edit Code」、「Edit Mode」、「Clang Code Model」、「Code Model」も参照してください

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.