Specify Clang tools settings | Qt Creator Documentation

- Qt Creator Documentation
- Specify Clang tools settings
- Qt Creator 17.0.1

How To

# Specify Clang tools settings

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

1. Select Projects > Project Settings > Clang Tools.

2. Clear 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.

How To