[Development] Changing qreal to a float

Cristian Adam cristian.adam at nokia.com
Wed Feb 15 13:38:51 CET 2012


On 02/15/2012 01:17 PM, ext Olivier Goffart wrote:
> On Wednesday 15 February 2012 07:38:44 gunnar.sletta at nokia.com wrote:
>> The only questionable use case is geolocation. We know for a fact that
>> floats have limitations in this area and both Qt3D and QtLocation make use
>> of QVector[2|3|4]D and QMatrix4x4 which will now be a float. However, this
>> is no worse (for device) than it already is, so any use case that fails and
>> needs work will now be found early in the development cycle as opposed to
>> during device testing.
> Note that QVector[2|3|4]D already uses float, even on desktop  (not on the
> API, but as internal storage)
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
Note that QtLocation already moved away from QVector2|3D because
of this exact problem. Panning at zoom level 20 was a pain to use :)

Cheers,
Cristian.





More information about the Development mailing list