Reputation: 3104
I installed Qt on Ubuntu and when I try to comiple a project it reports error: cannot find -lGL. But I am having problem with installing openGL library so I wanna know if it is possible to use Qt without openGL, to somehow exclude that library from linking...
Upvotes: 2
Views: 14691
Reputation: 1421
installed Qt on Ubuntu --> How..? Which Version? Did you configure it? You can configure it while installing, and if you do not want OpenGL you can just give option
-no-opengl
when I try to comiple a project it reports error: cannot find -lGL --> But if your project needs OpenGL, what is the point in having "No OpenGL"? you should rather install OGL development libraries(see datenwolf's comment) so that you can work on the project.
Upvotes: 1