diff options
author | aavit <eirik.aavitsland@digia.com> | 2012-12-05 15:32:00 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-06 12:49:02 +0100 |
commit | 0fc1b9d06e9d0c35fa7f6945b8147e503d7f2ebc (patch) | |
tree | 72453706908aad4ddd31bd52fce44b6866c0add3 /src/gui/gui.pro | |
parent | 22e3111127d31cc6440f1a13833205a72c9c4ab6 (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/gui.pro')
-rw-r--r-- | src/gui/gui.pro | 2 |
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 |