QML can only use double-precision, and the type seems to changed to double recently in the core.
double
Cherry-picked from !5391 as it seems that it won't be merged.
Request review @tguillem.