So I'm trying to create a dll using QT creator. I went to
new project -> libary -> C++ libary -> choose
error: QtGlobal: No such file or directory
Found the solution!
The QT creator created the project with the following line in the
QT -= core gui
-= operator, this was preventing the linking of
core library then the not found of
#include <QtCore/qglobal.h> just removed the
core from that line and it compiled fine.