No, it changed the expectations. People develop with qreal as double, and than magic things happen on ARM. My proposal is, that we change most interfaces to double, there it really costs, we switch to float.
Otherwise we break our interfaces. For example, a application is saving world coordiantes in qreal(QPointF), this is fine with qreal as double, but you get in trouble if qreal is float(I was told so). So, this application can only run cross platform, if we stick to our interface and don't change it magically. Maybe we should introduce Q*F and Q*D like QRectF and QRectD? But the first step would be in my opinion the removal of qreal. It should be really KISS! ________________________________________ From: ext Romain Pokrzywka [[email protected]] Sent: Thursday, September 13, 2012 2:10 AM To: [email protected] Cc: Bubke Marco (Nokia-MP/Berlin); Knoll Lars (Nokia-MP/Oslo); [email protected]; [email protected] Subject: Re: [Development] Proposing reversal of the Math3D qreal->float change On Wednesday, September 12, 2012 09:20:15 AM [email protected] wrote: > On Sep 12, 2012, at 12:27 AM, ext André Pönitz <[email protected] chemnitz.de> wrote: > > Version (a) means the current mess will go on. but it has the > > distict charme of (a.1) not breaking anyones existing code and > > (a.2) sticking to feature freeze rules. > > If somebody porting his app to ARM he will be surprised, because we change > qreal to float. Sorry, this is cross platform magic. Actually change qreal > explicitly to double is much better, because it is explicit. No this won't change anything, because qreal is already float on ARM platforms. > > I would opt for a explicit removal of qreal and exchange it with double! > > _______________________________________________ > Development mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/development > _______________________________________________ > Development mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/development _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
