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.pro18
1 files changed, 11 insertions, 7 deletions
diff --git a/examples/wayland/wayland.pro b/examples/wayland/wayland.pro
index 2a5395004..6024dd2dd 100644
--- a/examples/wayland/wayland.pro
+++ b/examples/wayland/wayland.pro
@@ -1,17 +1,21 @@
+requires(qtHaveModule(waylandcompositor))
+requires(qtConfig(opengl))
TEMPLATE=subdirs
-contains(QT_CONFIG, opengl) {
- SUBDIRS += qwindow-compositor
- SUBDIRS += minimal-cpp
-}
+SUBDIRS += \
+ qwindow-compositor
+ minimal-cpp
-contains(QT_CONFIG, opengl):qtHaveModule(quick) {
+qtHaveModule(quick) {
SUBDIRS += minimal-qml
SUBDIRS += spanning-screens
SUBDIRS += pure-qml
SUBDIRS += multi-output
SUBDIRS += multi-screen
- SUBDIRS += custom-extension
- SUBDIRS += server-buffer
SUBDIRS += ivi-compositor
+ qtHaveModule(waylandclient) {
+ SUBDIRS += \
+ custom-extension \
+ server-buffer
+ }
}