[PyKDE] Bug in PyQt/SIP snapshot
Giovanni Bajo
rasky at develer.com
Fri Dec 16 18:08:51 GMT 2005
Giovanni Bajo <rasky at develer.com> wrote:
>> With pyqt snapshot 20051208-1 and sip snapshot 20051212 im not having
this
>> error.
>
> Ah thanks, I'll try and upgrade.
Argh, it didn't work out. I'm trying with snapshot-20051212 and PyQt
snapshot-20051212, and I get this:
sipqtpart0.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual class QLayoutIterator __thiscall
QLayout::iterator(void)"
(__imp_?iterator at QLayout@@UAE?AVQLayoutIterator@@XZ) referenced in function
"protected: virtual class QLayoutIterator __thiscall
sipQLayout::iterator(void)"
(?iterator at sipQLayout@@MAE?AVQLayoutIterator@@XZ)
Generated code looks like this:
QLayoutIterator sipQLayout::iterator()
{
extern QLayoutIterator sipVH_qt_243(sip_gilstate_t,PyObject *);
sip_gilstate_t sipGILState;
PyObject *meth;
meth =
sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipNm_qt_iterato
r);
if (!meth)
return QLayout::iterator();
return sipVH_qt_243(sipGILState,meth);
}
A previously working version of PyQt has this code instead:
QLayoutIterator sipQLayout::iterator()
{
extern QLayoutIterator sipVH_qt_243(sip_gilstate_t,PyObject *);
sip_gilstate_t sipGILState;
PyObject *meth;
meth =
sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipNm_qt_iterato
r);
if (!meth)
return QLayoutItem::iterator();
return sipVH_qt_243(sipGILState,meth);
}
Looks like something is broken.
--
Giovanni Bajo
More information about the PyQt
mailing list