[PyKDE] PyKDE compling woes with current snapshots

Jim Bublitz jbublitz at nwinternet.com
Thu Apr 24 19:22:01 BST 2003


On 24-Apr-03 Phil Thompson wrote:
> 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'll take your word for it :) I was looking more at the duplicate
name, but your right about the 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.

If it's a problem, I think there's a way to fix it in PyKDE for
this specific case.

Jim




More information about the PyQt mailing list