[Development] Building QtWayland is broken

Hausmann Simon Simon.Hausmann at digia.com
Mon Dec 30 13:59:22 CET 2013


It's possible to create qmake rules within a module, something Ossi and Tor Arne have done successfully in webkit. Grab me when back in the office and we can have a look :)


Simon
Fra: jorgen.lind at digia.com
Sendt: 11:03 mandag 30. desember 2013
Til: development at qt-project.org
Svar til: Lind Jorgen
Emne: Re: [Development] Building QtWayland is broken



Hi,



> 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

> directory

> #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

> <QtCompositor/private/qwayland-server-wayland.h>

>

> 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.



Yeah, you need to update your QtBase to contain

Change-Id: Id55200fe23652587390dabf84ca846e4f39cf70e

It updates the wayland scanner qmake rule to install generated headers. This results in includes in the QtWayland module to change.



Ideally it would be possible to create qmake rules inside a module.



Jørgen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20131230/0baf101b/attachment.html>


More information about the Development mailing list