[Development] Changing qreal to a float

Thiago Macieira thiago.macieira at intel.com
Mon Feb 20 09:01:23 CET 2012


On segunda-feira, 20 de fevereiro de 2012 14.05.22, Craig.Scott at csiro.au 
wrote:
> Rather than an outright removal, perhaps it would be better to simply #ifdef
> it out with some way for devs to re-enable it. Thus, by default it will be
> as though it was no longer defined (hence prompts people to update their
> code), but for those who really do have qreal embedded throughout their own
> code base, there's an easy mechanism for them to keep their code building
> without hacking into Qt's headers, etc.

Well, we could keep the current typedef for Qt 4.x compatibility mode (the 
macros).

-- 
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/20120220/00291548/attachment.sig>


More information about the Development mailing list