How to display header in .cpp
I'm changing over from another IDE and have a newbie question regarding: how to get my .hpp into this: <>
As instructed I created an includepath in .pro:
INCLUDEPATH += "C:\\MinGW\\include\\GL\\"
then, in main.cpp:
But, get error:
GL/glut.h: No such file or directory.
Of course I need this.
INCLUDEPATH += "C:/MinGW/include/GL"
You already have
INCLUDEPATHstatement so you should either remove it from there or change the
#includestatement from your main.cpp.