summaryrefslogtreecommitdiffstats
path: root/examples/wayland/wayland.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/wayland.pro')
-rw-r--r--examples/wayland/wayland.pro11
1 files changed, 6 insertions, 5 deletions
diff --git a/examples/wayland/wayland.pro b/examples/wayland/wayland.pro
index 503190c8a..d4b631403 100644
--- a/examples/wayland/wayland.pro
+++ b/examples/wayland/wayland.pro
@@ -1,13 +1,14 @@
TEMPLATE=subdirs
-SUBDIRS += qwindow-compositor
-SUBDIRS += minimal-cpp
+contains(QT_CONFIG, opengl) {
+ SUBDIRS += qwindow-compositor
+ SUBDIRS += minimal-cpp
+}
-qtHaveModule(quick) {
+contains(QT_CONFIG, opengl):qtHaveModule(quick) {
SUBDIRS += minimal-qml
SUBDIRS += pure-qml
SUBDIRS += multi-output
SUBDIRS += custom-extension
+ SUBDIRS += server-buffer
}
-
-SUBDIRS += server-buffer