qmetatype must be in global namespace