summaryrefslogtreecommitdiff
path: root/examples/widgets/widgets.pro
diff options
context:
space:
mode:
authorRafael Roquetto <rafael.roquetto@kdab.com>2013-08-09 18:22:50 -0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-23 16:10:13 +0200
commit61edb803785ea7e62043b4f8a926b6b1db4f3a81 (patch)
tree20cb2b93a5b85819e5ae22dc60ef0f0510f81e60 /examples/widgets/widgets.pro
parent79570157e3f2d49a016a63fbf3a2e6e00da08fe9 (diff)
downloadqtbase-61edb803785ea7e62043b4f8a926b6b1db4f3a81.tar.gz
Fix compilation of windowcontainer example
Compilation was failing when compiling with -no-opengl Task-number: QTBUG-32712 Change-Id: I7c3f7c6be542aa79afa20d8563565fd477cc053c Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'examples/widgets/widgets.pro')
-rw-r--r--examples/widgets/widgets.pro7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/widgets/widgets.pro b/examples/widgets/widgets.pro
index 726494ffd6..14acebc33f 100644
--- a/examples/widgets/widgets.pro
+++ b/examples/widgets/widgets.pro
@@ -19,8 +19,11 @@ SUBDIRS = \
statemachine \
tools \
tutorials \
- widgets \
- windowcontainer
+ widgets
+
+contains(QT_CONFIG, opengl(es1|es2)?) {
+ SUBDIRS += windowcontainer
+}
contains(DEFINES, QT_NO_CURSOR): SUBDIRS -= mainwindows
contains(DEFINES, QT_NO_DRAGANDDROP): SUBDIRS -= draganddrop