[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Qt5 switching qreal from float to double on arm*



In data sabato 2 novembre 2013 15:29:05, Lisandro Damián Nicanor Pérez 
Meyer ha scritto:
> Hi! Starting from Qt 5.2.0 (most probably from rc1 and definitely not
> from beta1 currently in experimental) Qt5 will switch qreal from
> float to double on arm*.

Did upstream bump the SONAME of QtCore5 and any other qt5 library 
because of this?

> Of course we are still on time to discuss this, and this is the reason
> of this mail. What do you think WRT the above changes?

This will basically break the ABI of basically all the Qt5 libraries on 
those architectures. Unless upstream already managed the SONAME bump 
already, it would imply that Debian has to maintain it on its own...
are you sure these changes are worth the pain they cause?

> On the other hand, if the above change is kept, symbols for Qt5 on
> armhf managed with pkg-kde-tools' symbolshelper will need an explicit
> double for armhf instead of using qreal's subst. This is because on
> Qt4 qreal will be kept as float.

This is another issue, i.e. pkgkde-symbolshelper not being able to 
distinguish version of qt for substitutions.

> We have the option to keep some archs in float by passing a
> compilation parameter. I've done so for armel and sh4, so only armhf
> will switch to double.

My option goes on keeping the status quo of qreal as it was, on 
architectures that managed to build qtbase-opensource-src already.

-- 
Pino Toscano

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: