Why do IDE show errors but does the code compile?

I am using qt creator under debian 9.
It happen that qt creator shows errors but it compile fine.
These errors are not shown in the UE4 editor because it compiles succesfully.
I have configured qt creator following the guide.
What is the problem?

Even if you configured something wrong i can already tell you that you still gonna have issues like this, thats because UE4 do some unconventional tricks in C++ that confuse IDE error marking including Intelisense in VS, it so common issue that even guide recommends to disable error tab ion VS. It can’t be really fix on Epic side as UE4 was simply made that way to be easier to code it, this is something that IDE developers need to improve to support cases like UE4. You will need to ignore that potentially disabling error marking