Switch to using API v2 for QVariant