[PyQt] sip syntax error

deepak mathur mathurdeepak13 at gmail.com
Fri Sep 22 13:51:52 BST 2017


hi Phil,

I'm building against Qt5
Qt-5.9.1
SIP 4.19.3
PyQt version '5.8'

all the module C++ code looks to be pointing to PyQt-5.9/share/sip/PyQt5 as
well..


On Fri, Sep 22, 2017 at 1:10 PM, Phil Thompson <phil at riverbankcomputing.com>
wrote:

> On 22 Sep 2017, at 12:57 pm, deepak mathur <mathurdeepak13 at gmail.com>
> wrote:
> >
> > hi Phil,
> >
> > Many thanks for the help. Its keeping things moving for a Technical
> Artist.
> > However, with everything compiled and trying to load the module in
> python, it complains:
> >
> > ImportError: /job/rnd/dev/people/dmathur/work/sipTest/labelTest/modules/PyMyLabel.so:
> undefined symbol: _ZNK7QWidget10redirectedEP6QPoint
> >
> >
> > c++filt _ZNK7QWidget10redirectedEP6QPoint
> > QWidget::redirected(QPoint*) const
> >
> > I'm C++ header implements Qlable (I tried with QMainWindow as well)
> >
> > Any idea about what could be missing here..
>
> That method is specific to Qt5, so you are likely to be mixing up Qt4 and
> Qt5 in your build.
>
> Phil




-- 


*Framestore | *Deepak Mathur | R&D Software
*London *- New York - Los Angeles - Montreal

19-23 Wells Street, London, W1T 3PQ
T: +44 (0) 20 7344 8000
framestore.com <http://www.framestore.com/>
<http://www.facebook.com/Framestore> <http://twitter.com/Framestore>
Facebook <https://www.facebook.com/Framestore> | Twitter
<http://twitter.com/Framestore>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170922/20d46e56/attachment.html>


More information about the PyQt mailing list