Giovanni Bajo <[EMAIL PROTECTED]> 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)"
([EMAIL PROTECTED]@@UAE?AVQLayoutIterator@@XZ) referenced in function
"protected: virtual class QLayoutIterator __thiscall
sipQLayout::iterator(void)"
([EMAIL PROTECTED]@@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

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to