[review] [PyKDE] Problem generating C++ code for PyKDE 3.11.3

Jim Bublitz jbublitz at nwinternet.com
Mon Jan 24 19:20:52 GMT 2005


On Sunday 23 January 2005 09:12, Tim Jarman wrote:

> sip: sip/kdeui/kactioncollection.sip:105: A function with the same Python
> signature has already been defined
> Error: Unable to create the C++ code.
> <error message ends>

In sip/kdeui/kactioncollection.sip, you can delete lines 101-107:

public:

%If (  - KDE_3_2_2 )
    virtual QValueList<KAction*> actions (const QString&) const;
    virtual QValueList<KAction*> actions () const;
%End

It's a versioning error caused by the software that automatically generates 
the sip files. It looks like an error in recognizing that KActionPtrList and 
QValueList<KAction*> are the same type, probably an artifact from an older 
version of the code generation software as it no longer screws up on 3.3.X 
versions.


Jim




More information about the PyQt mailing list