[PyKDE] PyKE and KDE 3.4.0

Jim Bublitz jbublitz at nwinternet.com
Mon Apr 11 17:54:48 BST 2005


On Wednesday 06 April 2005 05:30, C Ginger wrote:

> Generating the C++ source for the kdecore module...
> sip: sip/kdecore/kshortcutlist.sip:85: There is already an enum in scope
> with th                     e same Python name
> Error: Unable to create the C++ code.

In the file indicated, delete the following lines around line 85, then re-run 
configure.py and make. Change:

public:
//force

    enum Other
    {

    };

//end

public:
//force

//    enum Other
//    {

//    };

//end

The other alternative is to download the snapshot which already has this 
fixed. Snapshots are at 

http://www.riverbankcomputing.co.uk/download/snapshots/PyKDE

If you're using gcc >= 3.4, you might want to use the kde-bindings version or 
KDE CVS version of PyKDE. gcc 3.4 and greater will produce "missing symbols" 
errors with the snapshot.

There duplicate enum error above is a problem with more recent sip versions - 
earlier sip versions ignored it.

Jim




More information about the PyQt mailing list