summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authoraavit <eirik.aavitsland@digia.com>2012-12-05 15:32:00 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-06 12:49:02 +0100
commit0fc1b9d06e9d0c35fa7f6945b8147e503d7f2ebc (patch)
tree72453706908aad4ddd31bd52fce44b6866c0add3 /src/gui
parent22e3111127d31cc6440f1a13833205a72c9c4ab6 (diff)
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>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui.pro b/src/gui/gui.pro
index 301d704e2e..5f94426c94 100644
--- a/src/gui/gui.pro
+++ b/src/gui/gui.pro
@@ -1,6 +1,6 @@
TARGET = QtGui
QT = core-private
-MODULE_CONFIG = opengl
+contains(QT_CONFIG, opengl.*):MODULE_CONFIG = opengl
DEFINES += QT_NO_USING_NAMESPACE