Określ ustawienia narzędzi Clang
Aby skonfigurować sprawdzanie przez Clang-Tidy i Clazy dla bieżącego projektu:
- Przejdź do „ Projects ” > „ Project Settings ” > „ Clang Tools ”.

- Wyczyść opcję „ Use global settings ”.
- Ustaw preferencje dla projektu.
- W sekcji „ Suppressed diagnostics ” można wyświetlić listę wyłączeń dla projektu i usunąć z niej elementy diagnostyczne.
Aby przywrócić ustawienia globalne, wybierz opcję „ Restore Global Settings ”. Aby wyświetlić i zmodyfikować ustawienia globalne, wybierz link w widoku „ Use global settings ”.
Aby otworzyć widok „ Clang-Tidy ”, wybierz opcję „ Go to Clang-Tidy ”. Aby otworzyć widok „ Clazy ”, wybierz opcję „ Go to Clazy ”.
Zobacz także: Analiza kodu za pomocą Clang-Tidy i Clazy, Konfiguracja diagnostyki Clang oraz Ustawianie globalnych preferencji dla narzędzi 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.