how to get glut.h file in Qt

I am self-learner in Qt. I trying to learn 3D programming with QT. I wanted to leaern glut.h libraries in OPENGL. In my windows pc, I am using MinGW compiler. In compiler GL path : (Z:Qtqt-4.8.6-x64mingw64x86_64-w64-mingw32includeGL)

Although I include LIBS += -lglut there is no glut.h file.

inside GL path there is only such files:

 Directory of Z:Qtqt-4.8.6-x64mingw64x86_64-w64-mingw32includeGL

02.06.2015  19:00    <DIR>          .
02.06.2015  19:00    <DIR>          ..
21.12.2014  11:40            45.301 gl.h
21.12.2014  11:40             6.858 glaux.h
21.12.2014  11:40           208.391 glcorearb.h
21.12.2014  11:40           723.325 glext.h
21.12.2014  11:40            10.310 glu.h
21.12.2014  11:40            41.836 glxext.h
21.12.2014  11:40            42.638 wglext.h
               7 File(s)      1.078.659 bytes
               2 Dir(s)  36.618.063.872 bytes free

How can I import and use glut.h it?


Source: c++

Leave a Reply