QT bindings Compilation failure on amd64

Sjoerd Simons sjoerd at luon.net
Wed Dec 21 07:16:33 PST 2005


On Mon, Dec 19, 2005 at 10:42:24PM +0100, 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?

Works fine, when fixing a little typo (qlonglon instead of qlonglong) in 
the patch.

  Sjoerd
-- 
If they can make penicillin out of moldy bread, they can sure make
something out of you.
		-- Muhammad Ali


More information about the dbus mailing list