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 warningWarning: 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?
-
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.
-
got same warning.
Qt 5.15.5. QtC 4.15.1, macOS 10.15.7 Catalina
Desktop and iOS is OK, only happens on Android