[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] building pykde4
From:       Jim Bublitz <jbublitz () nwinternet ! com>
Date:       2008-07-04 15:35:21
Message-ID: 200807040835.21832.jbublitz () nwinternet ! com
[Download RAW message or body]

On Friday 04 July 2008 00:48, İşbaran Akçayır wrote:


> Generating the C++ source for the kdecore module...
> sip: sip/kdecore/typedefs.sip:263: %MappedType template for this type
> has already been defined
> Error: Unable to create the C++ code.

QHash<TYPE1, TYPE2> was not originally defined in PyQt, but apparently is now. 
In sip/kdecore/typedefs.sip comment out (/* .. */) everything from line 262 
(the template declaration for QHash) up to and including about line 363 
(the }; closing the block).

I'm not sure if QHash<TYPE1, TYPE2*) which follows line 363 is defined in PyQt 
- I think not, but if you get the same error after commenting out the first 
block, then the second should be commented out too.

> I thought removing these templates could help, but this is what i get if
> i do so:
>
> Generating the C++ source for the kdecore module...
> sip: KSycocaFactory::addEntry() unsupported function argument type -
> provide %Method code, a valid %VirtualCatcherCode and a valid C++ signature
> Error: Unable to create the C++ code.

Looks like you removed too much.

Jim

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic