Fix: Do not require GL library if configured with -no-opengl
qt_lib_gui.pri would add an unneeded -lGL, causing the build to fail on systems with no GL libraries. Change-Id: I3a49418e1393642e9d97999b79741cc2144a99af Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
parent
22e3111127
commit
0fc1b9d06e
@ -1,6 +1,6 @@
|
|||||||
TARGET = QtGui
|
TARGET = QtGui
|
||||||
QT = core-private
|
QT = core-private
|
||||||
MODULE_CONFIG = opengl
|
contains(QT_CONFIG, opengl.*):MODULE_CONFIG = opengl
|
||||||
|
|
||||||
DEFINES += QT_NO_USING_NAMESPACE
|
DEFINES += QT_NO_USING_NAMESPACE
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user