[Kde-bindings] Python bindings: Landed.

Richard Dale Richard_Dale at tipitina.demon.co.uk
Mon Jun 21 18:24:35 UTC 2004


On Sunday 20 June 2004 20:57, Simon Edwards wrote:
> Hello all,
>
> The python bindings have landed in CVS and should compile and build ok.
>
> cheers,
Good news! I've built it all, and only had one problem:

/home/duke/src/kde/HEAD/qt-copy/include/qptrlist.h: In member function `void
   QPtrList<type>::deleteItem(void*) [with type = KIconThemeDir]':
sipkdecorepart0.cpp:101229:   instantiated from here
/home/duke/src/kde/HEAD/qt-copy/include/qptrlist.h:150: invalid use of
   undefined type `struct KIconThemeDir'
../extra/kdecvs/kicontheme.h:23: forward declaration of `struct KIconThemeDir'
make[1]: *** [sipkdecorepart0.o] Error 1

So I just commented the private variable in  extra/kdecvs/kicontheme.h and all 
was fine:

private:
    int mDefSize[8];
    QValueList<int> mSizes[8];

    int mDepth;
    QString mDir, mName, mDesc;
    QStringList mInherits;
//    QPtrList<KIconThemeDir> mDirs;
    KIconThemePrivate *d;

I'm using this version of gcc:
gcc version 3.2.2 20030217 (Yellow Dog Linux 3.0 3.2.2-2a)

-- Richard



More information about the Kde-bindings mailing list