Sprawdzaj model kodu
Gdy zgłaszasz błąd związany z modelem kodu C++, programiści Qt Creator mogą poprosić Cię o zapisanie informacji o stanie wewnętrznym modelu kodu w pliku dziennika i przesłanie tego pliku do nich w celu sprawdzenia.
Aby wyświetlić informacje o modelu kodu C++ w oknie dialogowym „ C++ Code Model Inspector ” i zapisać je do pliku dziennika, wybierz opcję „ Tools ” > „ Debug Qt Creator ” > „ Inspect C++ Code Model ” lub naciśnij klawisze Ctrl+Shift+F12.

Qt Creator generuje plik dziennika kontroli modelu kodu w folderze tymczasowym.
Qt Creator podkreśla błędy semantyczne w programie Olive w edytorze kodu C++ w trybie „ Edit ”. Aby sprawdzić poprawne ścieżki dla plików dołączanych, które nie zostały rozpoznane lub zostały rozpoznane jako niewłaściwe, przejdź do opcji „ Project Parts ” > „ Header Paths ”.
Zobacz także : Jak: Edytować kod, Edytowanie kodu, Model kodu Clang oraz Model kodu.
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.