Qt5 switching qreal from float to double on arm*

Pino Toscano pino at kde.org
Wed Nov 6 16:40:11 UTC 2013


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
-------------- 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.alioth.debian.org/pipermail/pkg-kde-talk/attachments/20131106/cb174494/attachment.sig>


More information about the pkg-kde-talk mailing list