Fix compilation with -qreal float


Task-number: QTBUG-118877
Pick-to: 6.8
Change-Id: I6430be2ede9750adbeea5f32bc0a8128adb435f4
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
commitd7fdee24ba138d4585a22b79943768cf0f29398d
parent4a4140c75a13da99141d0c2d1b53e26f96d28c71
authorTim Blechmann <tim@klingt.org>
committerTim Blechmann <tim@klingt.org>
commit timeMon, 9 Sep 2024 15:06:11 +0800