[Development] Building QtWayland is broken

Johan Thelin e8johan at gmail.com
Sun Dec 29 22:15:51 CET 2013

Hi all,

I've been trying to build QtWayland from git using Qt 5.2 for a little
while now, and I've come to the conclusion that the module depends on
the module being installed to actually build. The actual issue is I
run into occurs when building wayland_wrapper/qwlcompositor.cpp:

In file included from wayland_wrapper/qwlcompositor.cpp:45:0:
wayland_wrapper/qwloutput_p.h:47:58: fatal error:
QtCompositor/private/qwayland-server-wayland.h: No such file or
 #include <QtCompositor/private/qwayland-server-wayland.h>

A little git blaming on src/compositor/wayland_wrapper/qwloutput_p.h gives

d250b714 src/compositor/wayland_wrapper/qwloutput_p.h (Jorgen Lind
2013-11-14 13:22:13 +0100  47) #include

So, I tried building the commit before, i.e.
e697d28dae8cbf4793132577131c81f3a252629b and it builds. Checking out
the blamed commit, i.e. d250b714f8eb5a60bb048830e723ac76f06215b7,
breaks the build.

I haven't had time to look any further into this, so if there is an
obvious solution to this regression, it would be nice to know.


Johan Thelin

Recommended on-line reading:
http://www.thelins.se | http://www.qtcentre.org
Recommended off-line reading:
The Foundations of Qt Development (ISBN: 1-59059-831-8)

More information about the Development mailing list