[PyQt] sip syntax error

Phil Thompson phil at riverbankcomputing.com
Fri Sep 22 14:04:12 BST 2017


On 22 Sep 2017, at 1:51 pm, deepak mathur <mathurdeepak13 at gmail.com> wrote:
> 
> 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..

PyQt5 knows nothing about that function so it must be a problem between the Qt you are building against and the Qt you are running against.

Phil

> 
> 
> 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
> Facebook | Twitter



More information about the PyQt mailing list