Specify Clang tools settings

To set Clang-Tidy and Clazy checks to run for the current project:

  1. Select Projects > Project Settings > Clang Tools.

    {Clang Tools customized settings}

  2. Deselect Use global settings.
  3. Specify preferences for the project.
  4. In Suppressed diagnostics, you can view the suppression list for a project and to remove diagnostics from it.

To restore the global settings, select Restore Global Settings. To view and modify the global settings, select the link in Use global settings.

To open the Clang-Tidy view, select Go to Clang-Tidy. To open the Clazy view, select Go to Clazy.

See also Configure Clang diagnostics, Analyze code with Clang-Tidy and Clazy, and Clang Tools.

© 2024 The Qt Company Ltd. 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.