* Cyril Brulebois [Mon, 23 Jul 2007 16:51:43 +0200]:

> Adeodato Simó <[EMAIL PROTECTED]> (23/07/2007):
> > The build on mipsel was tried a month an a half later than on other
> > arches, so it build against Qt 4.3 instead of 4.2; seems that would've
> > been the issue.

> At least the package builds fine currently, in an i386 sid chroot, i.e.
> against Qt 4.3.

Yes, it works in i386. The problem is this:

/usr/include/qt4/QtCore/qglobal.h:

#if defined(QT_ARCH_ARM) || (defined(QT_ARCH_MIPS) && !defined(Q_OS_IRIX))
                                     ^^^^^^^^^^^^
#define QT_NO_FPU
#endif

#if defined(QT_COORD_TYPE)
typedef QT_COORD_TYPE qreal;
#elif defined(QT_NO_FPU)
typedef float qreal;
^^^^^^^^^^^^^^^^^^^
#else
typedef double qreal;
#endif

And in /usr/include/qt4/QtCore/qtimeline.h:

    virtual qreal valueForTime(int msec) const;
            ^^^^^

But in ./build-2.4/QtCore/sipQtCoreQTimeLine.h:

    double valueForTime(int) const;
    ^^^^^^

So it works in every architecture but arm and mips. I don't know much
about sip, but it seems something needs to be adjusted so that
valueForTime returns a qreal.

Cheers,

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
An economist is an expert who will know tomorrow why the things he
predicted yesterday didn't happen today.
                --  Laurence J. Peter


Reply via email to