summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2012-12-20 10:07:20 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-20 13:59:46 +0100
commit889e9917731af71762becaf61d8154888178ab39 (patch)
tree36e36099c6a5b8e23a4188519f72c8cef698f0b7 /src
parent3a810c8238c712d308709da7f459476e8c5f42bf (diff)
Generalize the check for gui in static plugin import generation
Generalize the check for gui by checking for needs_qpa_plugin CONFIG value instead, which gui adds to MODULE_CONFIG. Task-number: QTBUG-28215 Change-Id: I5834a3f81e5c3868ee1a3fa405ebc6410db1f900 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui.pro4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/gui.pro b/src/gui/gui.pro
index 5f94426c94..058cfe92ec 100644
--- a/src/gui/gui.pro
+++ b/src/gui/gui.pro
@@ -1,6 +1,8 @@
TARGET = QtGui
QT = core-private
-contains(QT_CONFIG, opengl.*):MODULE_CONFIG = opengl
+
+MODULE_CONFIG = needs_qpa_plugin
+contains(QT_CONFIG, opengl.*):MODULE_CONFIG += opengl
DEFINES += QT_NO_USING_NAMESPACE