summaryrefslogtreecommitdiffstats
path: root/examples/gui/gui.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gui/gui.pro')
-rw-r--r--examples/gui/gui.pro4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/gui/gui.pro b/examples/gui/gui.pro
index 1a4067e893..8758a1ba95 100644
--- a/examples/gui/gui.pro
+++ b/examples/gui/gui.pro
@@ -3,4 +3,6 @@ CONFIG += no_docs_target
SUBDIRS += analogclock
SUBDIRS += rasterwindow
-SUBDIRS += openglwindow
+contains(QT_CONFIG, opengl(es1|es2)?) {
+ SUBDIRS += openglwindow
+}