diff options
author | Jorgen Lind <jorgen.lind@digia.com> | 2014-03-10 14:31:55 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-11 15:35:18 +0100 |
commit | 043a2893c41bbe0daa8953e9e30dd6957f216d95 (patch) | |
tree | 605fef066399c3678a34d6d442a20281d1c3bcd1 /README | |
parent | 6b173d993542e2aed01b5a97d3e0fb64940ad432 (diff) | |
download | qtwayland-043a2893c41bbe0daa8953e9e30dd6957f216d95.tar.gz |
Take advantage of the Qt 5 plugin json structure
Also change naming scheme of plugins:
buffer integrations doesn't start with "wayland-" but the platform
plugins have to start with "wayland-".
Also update the README
Change-Id: I6dd2103ab287ed569ab06cfb6eb469e3db058831
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'README')
-rw-r--r-- | README | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -19,6 +19,29 @@ To build the QtWayland module you need the external dependencies: xkbcommon 0.2.0 - http://xkbcommon.org/ wayland 1.2.0 - http://wayland.freedesktop.org/ +QtCompositor supports loading client buffer integrations that don't use the +wayland-egl interfaces. These client buffer integrations are picked up by +QtCompositor as plugins. To specify what plugin to load use the environment +variable QT_WAYLAND_CLIENT_BUFFER_INTEGRATION in the environment where the +compositor is started. The compositor will broadcast to the clients which +hardware integration to load when using the generic platformplugin "wayland". If +no client buffer integration is specifided, then the wayland-egl plugin will be +loaded. Please note that no Weston clients will work if the non standard +wayland-egl client buffer integration is used. + +To start the qwindow-compositor with the xcomposite-egl integration then start +the compositor as follows: +QT_WAYLAND_CLIENT_BUFFER_INTEGRATION=xcomposite-egl ./qwindow-compositor + +Now it should be possible to start an application in a separate terminal. ie: +$QTBASEDIR/examples/opengl/hellowindow/hellowindow -platform wayland --single + +Available client buffer integrations are: +wayland-egl (this is the default) +brcm +xcomposite-egl +xcomposite-glx + We hang out at #qt-labs and #qt-lighthouse on freenode if you have any questions |