[PyKDE] Bug in PyQt/SIP snapshot
Douglas Soares de Andrade
dsandrade at gmail.com
Fri Dec 16 16:15:42 GMT 2005
Hi Giovanni,
Can you send me the example code that is broking with you ? So i can test it.
Em Sexta 16 Dezembro 2005 18:08, Giovanni Bajo escreveu:
> 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_iterat
>o 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_iterat
>o r);
>
> if (!meth)
> return QLayoutItem::iterator();
>
> return sipVH_qt_243(sipGILState,meth);
> }
>
>
> Looks like something is broken.
--
Douglas Soares de Andrade
dsandrade (a) gmail.com
GTalk: dsandrade at gmail.com
ICQ: 76277921
Jabber: dsandrade at jabber.org
More information about the PyQt
mailing list