[PyQt] sip syntax error

Phil Thompson phil at riverbankcomputing.com
Fri Sep 22 13:10:25 BST 2017


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


More information about the PyQt mailing list