aboutsummaryrefslogtreecommitdiffstats
path: root/cyclonev/archdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'cyclonev/archdefs.h')
-rw-r--r--cyclonev/archdefs.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/cyclonev/archdefs.h b/cyclonev/archdefs.h
index d8fd3160..71948ca1 100644
--- a/cyclonev/archdefs.h
+++ b/cyclonev/archdefs.h
@@ -33,6 +33,22 @@ using mistral::CycloneV;
typedef int delay_t;
+// https://bugreports.qt.io/browse/QTBUG-80789
+
+#ifndef Q_MOC_RUN
+enum ConstIds
+{
+ ID_NONE
+#define X(t) , ID_##t
+#include "constids.inc"
+#undef X
+};
+
+#define X(t) static constexpr auto id_##t = IdString(ID_##t);
+#include "constids.inc"
+#undef X
+#endif
+
struct DelayInfo
{
delay_t delay = 0;