From f41b4045d47ee2632469398f86e2fb71eeb1d01f Mon Sep 17 00:00:00 2001 From: David Shah Date: Thu, 5 Nov 2020 11:14:29 +0000 Subject: nexus: Add missing Q_MOC_RUN guard Signed-off-by: David Shah --- nexus/archdefs.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nexus/archdefs.h b/nexus/archdefs.h index 903386bf..cdf15825 100644 --- a/nexus/archdefs.h +++ b/nexus/archdefs.h @@ -46,7 +46,9 @@ struct DelayInfo return ret; } }; +// https://bugreports.qt.io/browse/QTBUG-80789 +#ifndef Q_MOC_RUN enum ConstIds { ID_NONE @@ -58,6 +60,7 @@ enum ConstIds #define X(t) static constexpr auto id_##t = IdString(ID_##t); #include "constids.inc" #undef X +#endif struct BelId { -- cgit v1.2.3