Take this for example
/usr/include/qt5/QtCore/qcoreapplication.h:43: error: QtCore/qglobal.h: No such file or directory
#include <QtCore/qglobal.h>
^
This is just come from a self generated code of Qt Creator nothing added.If I Ctrl+Click the header the compiler lead me to the file,so obviously it knows where it is.I am not using any of the Qt Library really,so I am not asking for a quick answer here all I have to do is to remove all Qt headers and problem solved. But more about why things like this happen all the time is it a bug?is it environment dependent? why a compiler always give error message that doesn't make any sense to anybody.How hard is it just get rid of nonsense like this at compiler level?