Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

What does "The code model not parse an included file, which might lead to incorrect completiton and highlighting" mean?



  • Hi,
    I just updated from Qt 5.12.1 to Qt 5.15.2 and with the example app "analogclock" I got the warning

    Warning: The code model not parse an included file, which might lead to incorrect completiton and highlighting, for example.
    processordetection.h:150:6: error: "ARM architecture too old"
    

    I read that with Qt 5.14.+ the Clang Frontend Plugin is activated. If I deactivate the Clang Code Model the warning goes away.

    But why does this warning occur and should I use th Clang Frontend Plugin or the Built in Model?


  • Moderators

    You didn't write which Qt Creator version you're using (these are independent from the Qt versions).

    Anyhow, the warning is just a warning. Unless you experience problems you can safely ignore it.

    should I use th Clang Frontend Plugin or the Built in Model?

    The Built in model is faster to load, but less accurate. It also doesn't support some of the newer C++ syntax.

    Please try the latest Qt Creator versions if you face issues.


Log in to reply