Use QMetaType::Type if possible to fix Qt6 deprecations

CCBUG:497575

Merge request reports

Loading