In my Qt apps, I use a precompiler macro to automatically both declare and register a metatype:
#define Q_DECLARE_AND_REGISTER_METATYPE(TYPE) \\ Q_DECLARE