diff --git a/src/corelib/kernel/qmetatype.h b/src/corelib/kernel/qmetatype.h index 401ecb5d8d1..61f9a428506 100644 --- a/src/corelib/kernel/qmetatype.h +++ b/src/corelib/kernel/qmetatype.h @@ -2750,7 +2750,7 @@ QT_WARNING_POP #endif template -constexpr QMetaTypeInterface *qMetaTypeIntefaceForType() +constexpr QMetaTypeInterface *qMetaTypeInterfaceForType() { using Ty = std::remove_cv_t>; if constexpr (std::is_same_v) { @@ -2765,12 +2765,12 @@ constexpr QMetaTypeInterface *qMetaTypeIntefaceForType() template QMetaType QMetaType::fromType() { - return QMetaType(QtPrivate::qMetaTypeIntefaceForType()); + return QMetaType(QtPrivate::qMetaTypeInterfaceForType()); } template QtPrivate::QMetaTypeInterface *const qt_metaTypeArray[] = { - QtPrivate::qMetaTypeIntefaceForType()... + QtPrivate::qMetaTypeInterfaceForType()... }; QT_END_NAMESPACE