QT bindings Compilation failure on amd64

Thomas Braxton brax108 at cox.net
Wed Dec 21 11:03:51 PST 2005


On Monday 19 December 2005 15:42, Kevin Krammer wrote:
> On Monday 19 December 2005 19:38, Sjoerd Simons wrote:
> > Hi,
> >
> >   The dbus 0.60 qt bindings fail to compile on amd64:
> >     ../qt/qdbusmarshall.cpp: In function 'QVariant
> >     qFetchParameter(DBusMessageIter*)':
> >     ../qt/qdbusmarshall.cpp:72: error: conversion from 'long int' to
> > 'QVariant' is ambiguous
> >
> >   The problem is that there is no QVariant constructor for long (only int
> > and long long). Unfortunately on amd64 -> 64-bit int: long
>
> Could you try the attached patch?
>
> I hope it compiles, I currently have no Qt4 installed :(
>
> Cheers,
> Kevin
might want to change qlonglong so qint64 to explicitly set the size instead of 
relying on the compiler's notion of how big a qlonglong is, this might be 
different between compilers.


More information about the dbus mailing list