c++ - how to get glut.h file in Qt -


i self-learner in qt. trying learn 3d programming qt. wanted leaern glut.h libraries in opengl. in windows pc, using mingw compiler. in compiler gl path : (z:\qt\qt-4.8.6-x64\mingw64\x86_64-w64-mingw32\include\gl)

although include libs += -lglut there no glut.h file.

inside gl path there such files:

 directory of z:\qt\qt-4.8.6-x64\mingw64\x86_64-w64-mingw32\include\gl  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 import , use glut.h it?

edit:

according erik man's responce downloaded glut rar in computer. when add glut.h in gl/ folder. qt says :-1: error: cannot find -lglut in .pro line;

libs += -lglut   (also -lglut32 not working) 

i think need add 3 files using glut libraries, (correct me if wrong) files :

glut.h in "/include/gl" libglut32.a in "/lib/" glut32.dll in "windows/system32/" 

however in downloaded glut rar couldnt find libglut32.a , glut32.dll


Comments