Use the corresponding QMetaType::Type alternatives instead
https://doc.qt.io/qt-5/qvariant-obsolete.html#Type-enum