diff options
author | Volker Krause <volker.krause@kdab.com> | 2016-04-20 13:25:01 +0200 |
---|---|---|
committer | Volker Krause <volker.krause@kdab.com> | 2016-04-20 11:34:12 +0000 |
commit | 33e89749bcf88932e7c3dd515ffcc4da911a765d (patch) | |
tree | d9303e18d336752dbb141558db685b883807b5fe /src/compositor/extensions/qwaylandtextinput.h | |
parent | 15216555593740029f3c25ee16dc4dc248a017b7 (diff) |
Forward declare Wayland types in public headers.
This has the nice side-effect that qtwayland now builds with Wayland
headers in non-standard locations, as targets including these headers
(such as the compositor QML API) no longer need to have Wayland include
paths set correctly.
Change-Id: Ifc1c71b4d61996a219150173341da461da772d22
Reviewed-by: Giulio Camuffo <giulio.camuffo@kdab.com>
Diffstat (limited to 'src/compositor/extensions/qwaylandtextinput.h')
-rw-r--r-- | src/compositor/extensions/qwaylandtextinput.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compositor/extensions/qwaylandtextinput.h b/src/compositor/extensions/qwaylandtextinput.h index 100384e76..ef289f1b5 100644 --- a/src/compositor/extensions/qwaylandtextinput.h +++ b/src/compositor/extensions/qwaylandtextinput.h @@ -39,6 +39,8 @@ #include <QtWaylandCompositor/QWaylandExtension> +struct wl_client; + QT_BEGIN_NAMESPACE class QWaylandTextInputPrivate; |