Fix compilation on ARM, where qreal can be defined as a float

Change-Id: I0121913aa03b3a449bfa45b9337bc4c5f586799b
Merge topic 'compile-on-arm' into master

6f1a111b Fix compilation on ARM, where qreal can be defined as a float