summaryrefslogtreecommitdiffstats
path: root/examples/examples.pro
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-10-07 19:32:08 +0200
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-10-10 16:59:19 +0000
commit573fbd84a49b9e82c4fc8f17952a809f9fed889d (patch)
treedef444fcdcb10b8baa024891b6d74565fe0d657b /examples/examples.pro
parent310bf3f57c49ad0d05e479e088a62b06e7616ba8 (diff)
fix build of examples subdir with -no-gui
the opengl feature is defined in the gui module. Change-Id: Ibf63395729540092ca82ee4ffc4e2ff4971c2a29 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'examples/examples.pro')
-rw-r--r--examples/examples.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index b57d281384..f66c5cbf22 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -15,7 +15,7 @@ SUBDIRS = \
widgets \
xml
-qtConfig(opengl): SUBDIRS += opengl
+qtHaveModule(gui):qtConfig(opengl): SUBDIRS += opengl
aggregate.files = aggregate/examples.pro
aggregate.path = $$[QT_INSTALL_EXAMPLES]