View Full Version : About Qt and OpenGL
12-14-2003, 11:30 PM
I have a work to compile program in RedHatLinux9.0 with Qt,But when I use <qgl.h>,I found the glu.h doesn't work,and the gl.h work very well!I can understand what happen.Because the qgl.h include both gl.h and glu.h.Shall I install Mesa?
12-15-2003, 08:52 PM
Verify that you have libGLU.so installed on your machine. If not install it. If it is installed show what errors you are getting or give more detail about the problem.
[This message has been edited by shinpaughp (edited 12-15-2003).]
12-19-2003, 06:15 AM
Thank you very much.I have got the answer just now : I add a "-lGLU" into the Makefile which created by qmake.It works well.
[This message has been edited by dragonWh (edited 12-19-2003).]
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.