summaryrefslogtreecommitdiffstats
path: root/src/compositor/compositor_api/qwaylandseat.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2020-03-10 10:47:08 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2020-03-16 13:05:58 +0000
commit66c2b429710e87b5604606e5f4eb7354aa730fa4 (patch)
treeddcac0789ac7aaa13f6a8e8a25dcedc41ccc0211 /src/compositor/compositor_api/qwaylandseat.h
parent310fe81d7fb0dc0105750ac2dae2192ead737b37 (diff)
Prospective build fix after meta-type changes
The moc generated code needs to have full visibility into all types used in properties, so Q_MOC_INCLUDE statements are needed to ensure the generated code is compiled with the right includes. Change-Id: I73552a916430cf7db14121f2ba1ec610e5b3382f Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/compositor/compositor_api/qwaylandseat.h')
-rw-r--r--src/compositor/compositor_api/qwaylandseat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compositor/compositor_api/qwaylandseat.h b/src/compositor/compositor_api/qwaylandseat.h
index 0acaf670a..c3e83c7e6 100644
--- a/src/compositor/compositor_api/qwaylandseat.h
+++ b/src/compositor/compositor_api/qwaylandseat.h
@@ -59,8 +59,10 @@ class Q_WAYLAND_COMPOSITOR_EXPORT QWaylandSeat : public QWaylandObject
#if QT_CONFIG(draganddrop)
Q_PROPERTY(QWaylandDrag *drag READ drag CONSTANT)
+ Q_MOC_INCLUDE("qwaylanddrag.h")
#endif
Q_PROPERTY(QWaylandKeymap *keymap READ keymap CONSTANT)
+ Q_MOC_INCLUDE("qwaylandkeymap.h")
public:
enum CapabilityFlag {
// The order should match the enum WL_SEAT_CAPABILITY_*