summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAndrew Knight <andrew.knight@digia.com>2013-08-31 16:36:25 +0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-02 14:59:02 +0200
commitf6a7092309e81326bf1fced4f8deb15bebcae9f1 (patch)
treea8b79eb77a8a68bf1c9748689e8abbfa50724325 /examples
parenta05a3f65507587dfd5fb69f4593faad714d1d4d4 (diff)
Fix possible build failure in windowcontainer example
The windowcontainer example utilzes the openglwindow example, so it must also check that OpenGL is available. Change-Id: I7ecb372cfd533bb56effe7c61ebee9bd53de4c54 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/widgets/widgets.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/widgets/widgets.pro b/examples/widgets/widgets.pro
index 726494ffd6..d45a805ceb 100644
--- a/examples/widgets/widgets.pro
+++ b/examples/widgets/widgets.pro
@@ -22,5 +22,6 @@ SUBDIRS = \
widgets \
windowcontainer
+!contains(QT_CONFIG, opengl(es1|es2)?): SUBDIRS -= windowcontainer
contains(DEFINES, QT_NO_CURSOR): SUBDIRS -= mainwindows
contains(DEFINES, QT_NO_DRAGANDDROP): SUBDIRS -= draganddrop