aboutsummaryrefslogtreecommitdiffstats
path: root/nexus
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-11-05 11:14:29 +0000
committerDavid Shah <dave@ds0.me>2020-11-30 08:45:28 +0000
commitf41b4045d47ee2632469398f86e2fb71eeb1d01f (patch)
tree364f49704fbd6fa3700dc324174772dd717b655a /nexus
parent3d4165616812acabd9b92c95d82f0c59aa9b698d (diff)
downloadnextpnr-f41b4045d47ee2632469398f86e2fb71eeb1d01f.tar.gz
nextpnr-f41b4045d47ee2632469398f86e2fb71eeb1d01f.tar.bz2
nextpnr-f41b4045d47ee2632469398f86e2fb71eeb1d01f.zip
nexus: Add missing Q_MOC_RUN guard
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'nexus')
-rw-r--r--nexus/archdefs.h3
1 files changed, 3 insertions, 0 deletions
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
{