The gui Qt module is enabled by default . If you do not want to use it in a project (for example, it is a library or uses only stdio), you need to specify this in the .pro file.
QT -= gui
And the linker will not try to find lGL regardless of whether it is installed.
My case, admittedly, is a bit strange, since the main reason for using Qt is the creation of graphical interfaces. Installing the GL library is, of course, not difficult, I just wanted to find out why my quick and dirty Hello World wanted this.
squeevee Dec 31 '19 at 4:55 2018-12-31 04:55
source share