My problem is as follow: The clang code model from Qt Creator is unable to find the first header included in the header file of a cpp file.
CPP-File:
Header file of that cpp-file:
As you can see, the code model has no issues finding QDialog in the header file, but has so in the cpp file. I have the same issue in other files too. The project compiles without problems too. I already deleted the cache files in my build folder and reindexed all again. I can't find the log files of clang tho.
CodePudding user response:
Disabling unity build fixed it.