简体   繁体   中英

Using Qt without openGL

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...

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM