You're probably mistaken, there has to be a
QtCore
directory somewhre with qglobal.h
in it. I bet your compile_commands.json
is missing some flags. Get qmake
to show the compiler commands it's running somehow, and compare them with compile_commands.json
.