[Development] Changing qreal to a float
andre.poenitz at nokia.com
andre.poenitz at nokia.com
Thu Feb 16 19:45:56 CET 2012
Olivier Goffart wrote:
> > I thought we were agreeing upon deprecating qreal (i.e leave it as-is)
> > and use float and double explicitly inside Qt. At least, that's what I
> > +1d for :) The patch above changes qreal and doesn't deprecate it.
>
> Can be done in another commit,
> One after the massive s/qreal/float/g in the code.
> If we really want that...
The s/qreal/float/g cannot be undone easily for custom builds, so it should
only happen if there's a way to reproduce currently existing functionality
(e.g. by adding QRectD classes, possibly conditional on some QT_NO_*
or similar)
Andre'
More information about the Development
mailing list