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:
aavit 2012-12-05 15:32:00 +01:00 committed by The Qt Project
parent 22e3111127
commit 0fc1b9d06e

View File

@ -1,6 +1,6 @@
TARGET = QtGui
QT = core-private
MODULE_CONFIG = opengl
contains(QT_CONFIG, opengl.*):MODULE_CONFIG = opengl
DEFINES += QT_NO_USING_NAMESPACE