Wayland compositor: only include Qt's generated protocol headers

The system may come with conflicting headers generated by wayland-scanner.

Change-Id: I1aef7e32683ab02d0712ee65970f010a86854e43
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
This commit is contained in:
Andrew Knight 2013-06-17 10:58:12 +03:00 committed by Jørgen Lind
parent 3d91a472fc
commit 7d94b055bf

View File

@ -364,7 +364,6 @@ void process(QXmlStreamReader &xml)
printf("#define %s\n", inclusionGuard.constData());
printf("\n");
printf("#include \"wayland-server.h\"\n");
printf("#include \"wayland-server-protocol.h\"\n");
printf("#include \"wayland-%s-server-protocol.h\"\n", QByteArray(protocolName).replace('_', '-').constData());
printf("#include <QByteArray>\n");
printf("#include <QString>\n");