Granska kodmodellen
När du rapporterar ett fel som är relaterat till C++-kodmodellen kan utvecklarna av Qt Creator be dig att skriva information om kodmodellens interna tillstånd till en loggfil och skicka filen till dem för granskning.
För att visa information om C++-kodmodellen i dialogrutan ” C++ Code Model Inspector ” och skriva ut den till en loggfil, välj ” Tools ” > ” Debug Qt Creator ” > ” Inspect C++ Code Model ” eller tryck på Ctrl+Shift+F12.

Qt Creator genererar loggfilen för granskning av kodmodellen i en tillfällig mapp.
Qt Creator markerar semantiska fel i Olive i C++-kodredigeraren i läget ” Edit ”. För att kontrollera de korrekta sökvägarna för inkluderingar som inte har lösts eller som har lösts till fel fil, gå till Project Parts > Header Paths.
Se även Så här gör du: Redigera kod, Redigera kod, Clang-kodmodell och Kodmodell.
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.