grantlee-0.1.8 build failed on arm7

Stephen Kelly steveire at gmail.com
Mon Jun 20 22:44:51 BST 2011


Sune Vuorela wrote:

> On 2011-06-04, ?????????????????? ?????????????? <kuzemkoa at mail.ru> wrote:
>> Hello. I am using Gentoo on the Beagleboard-Xm.
>> When I try to compile kde-4.6.80, I stoped on the grantlee build phase.
>> This is a full log.
>> http://paste.ubuntu.com/618234
> 

I don't remember how to make my arm build chroot work, but I tested and 
confirmed this with a MIPS cross compile.

> A untested patch:
> 
> diff --git a/templates/lib/abstractlocalizer.cpp
> b/templates/lib/abstractlocalizer.cpp index 4e5b15d..104d888 100644
> --- a/templates/lib/abstractlocalizer.cpp
> +++ b/templates/lib/abstractlocalizer.cpp
> @@ -46,8 +46,8 @@ QString AbstractLocalizer::localize( const QVariant&
> variant ) const
>      return localizeDateTime( variant.toDateTime() );
>    else if ( isSafeString( variant ) )
>      return localizeString( getSafeString( variant ).get() );
> -  else if ( variant.type() == QVariant::Double )
> -    return localizeNumber( variant.toDouble() );
> +  else if ( variant.type() == QVariant::Double ||
> variant.type()==QMetaType::Float )
> +    return localizeNumber( variant.toReal() );
>    else if ( variant.canConvert( QVariant::LongLong ) )
>      return localizeNumber( variant.toInt() );
>    return QString();
> 
> 
> /Sune

Applied to 0.1 branch. Will be part of the 0.1.9 release which will 
hopefully happen soon.

Thanks,

Steve.






More information about the kde-core-devel mailing list