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 [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
