Unsolved Simple app links to libGL ?
-
I wrote a very simple little app using Qt. It uses a few GUI classes like QDialog, QLineEdit, QPushButton. In the project file I use
QT += core gui widgets
.When I was building I was quite surprised to see near the end of the line doing the linking,
-lGL
Do I have an inefficient configuration; I didn't think Qt was drawing any GUI using OpenGL.
System: g++, Linux, Qt 5.7.0.
-
@kegon Qt uses OpenGL by default, so that's normal.
Is it an issue for your use case? -
No issue, I just want to avoid linking to unnecessary libs.