Qt5 compilation issue fixed: error: specialization of 'QMetaTypeId<WidgetId>' after instantiation
Q_DECLARE_METATYPE(WidgetId) => Q_DECLARE_METATYPE(WidgetId) must be closer to
the header file declaring the class