Q_NAMESPACE can ever only be used once for a namespace otherwise there will be multiple defintions of the staticMetaObject.