On Sun, Dec 11, 2011 at 01:48:57PM +0100, Kai Wasserbäch wrote:
> I've been busy packaging (or rather making fit for release) QApt, which
> uses Xapian. Currently QApt and some other programs also using Qt (e.g.
> packagesearch [0]) need to employ a workaround [1] to be able to use
> both Qt and Xapian in conjunction. This is because both Qt and Xapian
> have "slots".

Hmm, "slots" is a class member in Xapian.  Is Qt really defining "slots"
as a pre-processor macro?  Haven't they heard of not polluting the
global namespace?

And if so, why not just include xapian.h *first*?

> Hence I'd like to ask you to consider changing "slots" in keymaker.h
> (and of course the other files including keymaker.h) to something
> different. I know this would require some more work from the packages
> using Xapian, but the amount seems way smaller than changing all Qt
> packages.

I think that would mean an incompatible ABI change - if so, it certainly
can't happen in the 1.2.x series.  

Cheers,
    Olly



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to