diff --git a/src/corelib/kernel/qjnitypes.h b/src/corelib/kernel/qjnitypes.h index 6b64e5daea6..bedf368e309 100644 --- a/src/corelib/kernel/qjnitypes.h +++ b/src/corelib/kernel/qjnitypes.h @@ -235,6 +235,7 @@ template <> struct PromotedType { using Type = int; }; template <> struct PromotedType { using Type = unsigned int; }; template <> struct PromotedType { using Type = int; }; template <> struct PromotedType { using Type = unsigned int; }; +template <> struct PromotedType { using Type = double; }; // Map any QJniObject type to jobject; that's what's on the va_list template