summaryrefslogtreecommitdiffstats
path: root/src/plugins/plugins.pro
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@digia.com>2013-02-01 00:40:44 +0100
committerAndy Nichols <andy.nichols@digia.com>2013-02-06 14:19:45 +0100
commit2e0efd201aa75121f4dd4049598f4d120811d784 (patch)
treea33026b8cc3b4f9add79b5a8ebd703fa3eeb6644 /src/plugins/plugins.pro
parent4cbc411f60d17a6d4f4e9d4156146537d5dc2f16 (diff)
QtCompositor hardware integrations as plugins
Rather than defining which hardware integration should be used at compile time, we should build each hardware integration as a plugin, and load the one we want at runtime. The default hardware integration is wayland-egl, but you are able to override this using the environment variable QT_WAYLAND_HARDWARE_INTEGRATION Backends tested: wayland-egl xcomposite-egl Backends untested: xcomposite-glx brcm-egl Change-Id: Idee66574d232a9236898f68ca64145f471b1bb80 Reviewed-by: Andy Nichols <andy.nichols@digia.com> Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com> Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Diffstat (limited to 'src/plugins/plugins.pro')
-rw-r--r--src/plugins/plugins.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/plugins.pro b/src/plugins/plugins.pro
index 3dd6c024b..9613979bf 100644
--- a/src/plugins/plugins.pro
+++ b/src/plugins/plugins.pro
@@ -1,2 +1,7 @@
TEMPLATE=subdirs
SUBDIRS += platforms
+
+#The compositor plugins are only useful with QtCompositor
+contains(CONFIG, wayland-compositor) {
+ SUBDIRS += waylandcompositors
+}