summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/wayland/wayland.pro4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/wayland/wayland.pro b/examples/wayland/wayland.pro
index 2b7f992e4..f9287481b 100644
--- a/examples/wayland/wayland.pro
+++ b/examples/wayland/wayland.pro
@@ -1,6 +1,8 @@
-requires(qtHaveModule(waylandcompositor))
TEMPLATE=subdirs
+!qtHaveModule(waylandcompositor): \
+ return()
+
qtConfig(opengl) {
SUBDIRS += \
qwindow-compositor \