aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/archdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/archdefs.h')
-rw-r--r--ice40/archdefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ice40/archdefs.h b/ice40/archdefs.h
index 89591af5..e95953f1 100644
--- a/ice40/archdefs.h
+++ b/ice40/archdefs.h
@@ -48,6 +48,9 @@ struct DelayInfo
// -----------------------------------------------------------------------
+// https://bugreports.qt.io/browse/QTBUG-80789
+
+#ifndef Q_MOC_RUN
enum ConstIds
{
ID_NONE
@@ -59,6 +62,7 @@ enum ConstIds
#define X(t) static constexpr auto id_##t = IdString(ID_##t);
#include "constids.inc"
#undef X
+#endif
struct BelId
{