summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/platforms.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/platforms.pro')
-rw-r--r--src/plugins/platforms/platforms.pro35
1 files changed, 16 insertions, 19 deletions
diff --git a/src/plugins/platforms/platforms.pro b/src/plugins/platforms/platforms.pro
index 167602901..0665511c5 100644
--- a/src/plugins/platforms/platforms.pro
+++ b/src/plugins/platforms/platforms.pro
@@ -1,25 +1,22 @@
TEMPLATE=subdirs
CONFIG+=ordered
-SUBDIRS += wayland_common
-equals(QT_WAYLAND_GL_CONFIG, nogl) {
- SUBDIRS += qwayland-nogl
-} else {
- config_wayland_egl {
- SUBDIRS += qwayland-egl
- }
+SUBDIRS += qwayland-generic
+
+config_wayland_egl {
+ SUBDIRS += qwayland-egl
+}
- #The following integrations are only useful with QtCompositor
- contains(CONFIG, wayland-compositor) {
- config_brcm_egl {
- SUBDIRS += qwayland-brcm-egl
- }
- config_xcomposite {
- config_egl {
- SUBDIRS += qwayland-xcomposite-egl
- } else:config_glx {
- SUBDIRS += qwayland-xcomposite-glx
- }
- }
+#The following integrations are only useful with QtCompositor
+contains(CONFIG, wayland-compositor) {
+ config_brcm_egl: \
+ SUBDIRS += qwayland-brcm-egl
+
+ config_xcomposite {
+ config_egl: \
+ SUBDIRS += qwayland-xcomposite-egl
+ !contains(QT_CONFIG, opengles2):config_glx: \
+ SUBDIRS += qwayland-xcomposite-glx
}
}
+