aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/archdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'ecp5/archdefs.h')
-rw-r--r--ecp5/archdefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ecp5/archdefs.h b/ecp5/archdefs.h
index 3cd92119..8faa41ed 100644
--- a/ecp5/archdefs.h
+++ b/ecp5/archdefs.h
@@ -52,6 +52,9 @@ struct DelayInfo
// -----------------------------------------------------------------------
+// https://bugreports.qt.io/browse/QTBUG-80789
+
+#ifndef Q_MOC_RUN
enum ConstIds
{
ID_NONE
@@ -65,6 +68,7 @@ enum ConstIds
#define X(t) static constexpr auto id_##t = IdString(ID_##t);
#include "constids.inc"
#undef X
+#endif
NPNR_PACKED_STRUCT(struct LocationPOD { int16_t x, y; });