How to get rid of #include <AppKit/AppKit.h> errors in Qt project?
#include in the simplest Qt app gives me dozens of errors.
Adding LIBS += -framework AppKit in the .pro file doesn't help.
I use Qt Creator 17.0.2 on macOS 26.1 Tahoe, M4, Apple Clang, CONFIG +=c++latest, Qt 6.10.0 but the error arise even with a (no Qt) bare main(){}.
How to circumvent this?