Go to C/C++ configurations, and navigate to include paths Type in the path to Qt include e.g. C:\Qt\6.8.1\mingw_64\include**.
Do not forget to add the two Asterix at the end so that it searches for subdirectories