[Development] Changing qreal to a float

Thiago Macieira thiago.macieira at intel.com
Thu Feb 16 09:17:35 CET 2012

On quinta-feira, 16 de fevereiro de 2012 08.28.22, Robin Burchell wrote:
> On Thu, Feb 16, 2012 at 8:01 AM, Girish Ramakrishnan
> <girish at forwardbias.in> wrote:
> > I think changing qreal to float will result in subtle porting bugs:
> > like when a Qt4 QDataStream (a double) is read by Qt5 (which is now
> > suddenly float).
> Huh? QDataStream doesn't have any stream operators for qreal, does it?
> The documentation doesn't list any at least...

No, but it does have them for doubles and floats. But see 

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120216/765f1f63/attachment.sig>

More information about the Development mailing list