[PyKDE] Install pykde with newer pyqt but still getting unuse
parameter
Phil Thompson
phil at riverbankcomputing.co.uk
Thu Sep 23 18:32:21 BST 2004
On Thursday 23 September 2004 5:48 pm, Jim Bublitz wrote:
> On Thursday 23 September 2004 08:00, Arkar Kyaw Win wrote:
> > Hi just before pyqt3.13 got out I tried to install pykde but the
> > complier dispaly error upon compling sip file from kdecore folder .Such
> > as unused parameter.I use slackware10 with latest realease of pyqt and
> > sip from main website.Before I recomplie pyqt to latest release I
> > recomplie the sip too.Just in case something got wrong and it did.
> >
> > And here is the message from my console:
> > make[1]: Entering directory `/usr/local/PyKDE-3.11.3/kdecore'
> > g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -Wall -W
> > -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde323
> > -I/opt/kde/include -I/usr/include/python2.3 -I/usr/lib/qt/include
> > -I/usr/X11R6/include -o sipkdecorepart0.o sipkdecorepart0.cpp
> > sip/kdecore/kconfigdata.sip: In function `PyObject*
> > func_testKEntryMap(PyObject*, PyObject*)':
> > sip/kdecore/kconfigdata.sip:78: error: `
> > sipForceConvertTo_QMap_0200KEntryKey_0200KEntry' undeclared (first
> > use this
> > function)
> > sip/kdecore/kconfigdata.sip:78: error: (Each undeclared identifier is
> > reported
> > only once for each function it appears in.)
> > sip/kdecore/bytearray.sip: In function `PyObject*
> > func_dcop_next(PyObject*, PyObject*)':
> > sip/kdecore/bytearray.sip:349: error: `
> > sipConvertFrom_QMap_0200QCString_0200DCOPRef' undeclared (first use
> > this function)
> > sip/kdecore/bytearray.sip:355: error: `
> > sipConvertFrom_QMap_0200QString_0200DCOPRef' undeclared (first use
> > this function)
> > sip/kdecore/bytearray.sip:361: error:
> > `sipConvertFrom_QValueList_0200QCString'
> > undeclared (first use this function)
> > sip/kdecore/bytearray.sip:367: error:
> > `sipConvertFrom_QValueList_0200DCOPRef'
> > undeclared (first use this function)
> > sip/kdecore/bytearray.sip: In function `PyObject*
> > func_dcop_add(PyObject*, PyObject*)':
> > sip/kdecore/bytearray.sip:62: error: `
> > sipForceConvertTo_QMap_0200QCString_0200DCOPRef' undeclared (first
> > use this
> > function)
> > sip/kdecore/bytearray.sip:72: error: `
> > sipForceConvertTo_QMap_0200QString_0200DCOPRef' undeclared (first use
> > this
> > function)
> > sip/kdecore/bytearray.sip:88: error:
> > `sipForceConvertTo_QValueList_0200QCString
> > ' undeclared (first use this function)
> > sip/kdecore/bytearray.sip:98: error:
> > `sipForceConvertTo_QValueList_0200DCOPRef'
> > undeclared (first use this function)
> > sip/kdecore/kmountpoint.sip: In function `PyObject*
> > convertFrom_KMountPoint_List(void*)':
> > sip/kdecore/kmountpoint.sip:141: warning: taking address of temporary
> > sip/kdecore/kconfigskeleton.sip: In function `PyObject*
> > meth_KConfigSkeleton_ItemEnum_choices(PyObject*, PyObject*)':
> > sip/kdecore/kconfigskeleton.sip:183: warning: taking address of temporary
> > sipkdecorepart0.cpp: In function `int convertTo_Display(PyObject*,
> > void**, int*)':
> > sipkdecorepart0.cpp:28725: warning: unused parameter `PyObject*sipPy'
> > sipkdecorepart0.cpp:28725: warning: unused parameter `int*sipIsErr'
> > sipkdecorepart0.cpp: In function `PyObject* convertFrom_Display(void*)':
> > sipkdecorepart0.cpp:28759: warning: unused variable `Display*sipCpp'
> > sipkdecorepart0.cpp: In function `PyObject*
> > convertFrom_ulonglong(void*)': sip/kdecore/kconfigbase.sip:319: warning:
> > unused variable
> > `PyObject*LongLong'
> > sipkdecorepart0.cpp: In function `void dealloc_KShared(sipWrapper*)':
> > sipkdecorepart0.cpp:79642: warning: unused parameter `sipWrapper*sipSelf'
> > sipkdecorepart0.cpp: In function `PyObject*
> > convertFrom_QValueList_2200(void*)
> > ':
> > sip/kdecore/kwinmodule.sip:111: warning: unused variable `PyObject*inst'
> > make[1]: *** [sipkdecorepart0.o] Error 1
> > make[1]: Leaving directory `/usr/local/PyKDE-3.11.3/kdecore'
> > make: *** [all] Error 2
>
> Yep - the same problem everyone else is reporting with the new sip
> versions. I'll be getting to it as soon as possible.
Whoops - an accidental incompatibility. I've just uploaded new SIP snapshots
which should fix it. If people can confirm this I will release SIP v4.1.1 in
the next day or so.
Phil
More information about the PyQt
mailing list