[PyKDE] PyKDE compling woes with current snapshots
Phil Thompson
phil at river-bank.demon.co.uk
Thu Apr 24 17:59:01 BST 2003
On Thursday 24 April 2003 3:42 pm, Jim Bublitz wrote:
> On 24-Apr-03 Hans-Peter Jansen wrote:
> > On Thursday 24 April 2003 08:32, Gordon Tyler wrote:
> >> Now I've run into a compile error that has me stumped:
> >>
> >> sipkpartsKPartsPart.cpp: In method `void
> >> sipKParts_MainWindow::setInstance(KInstance *)':
> >> sipkpartsKPartsPart.cpp:1817: no matching function for call to
> >> `sipKParts_PartBase::sipVH_setInstance (sipMethodCache *,
> >> sipThisType
> >> *&, KInstance *&)'
> >> sipkpartsKPartsPartBase.h:59: candidates are: static void
> >> sipKParts_PartBase::sipVH_setInstance(const sipMethodCache *,
> >> sipThisType *, KInstance *, bool)
> >> sipkpartsKPartsFactory.cpp: In method `void
> >> sipKParts_DockMainWindow::setInstance(KInstance *)':
> >> sipkpartsKPartsFactory.cpp:2363: no matching function for call
> >> to
> >> `sipKParts_PartBase::sipVH_setInstance (sipMethodCache *,
> >> sipThisType
> >> *&, KInstance *&)'
> >> sipkpartsKPartsFactory.cpp:1723: candidates are: static void
> >> sipKParts_PartBase::sipVH_setInstance(const sipMethodCache *,
> >> sipThisType *, KInstance *, bool)
> >>
> >> Any ideas?
> >
> > Blind guess: doesn't this relate to missing ampersands, Phil
> > mentioned lately?
>
> There are no ampersands in the subject code.
>
> > This would imply, that at least the bool arg has a default
> > value.
>
> Mo, it doesn't.
>
> > Which KDE version you bind against?
>
> I believe this is the same in any version.
This is definately a SIP bug related to a class (KXMLGUIClient in this case)
appearing more than once in a class's hierarchy.
I think I know how to fix it - and it will be in tonight's snapshot. I just
need to think it through a bit more to make sure I won't break anything else.
Phil
More information about the PyQt
mailing list