[PyKDE] undefined symbol: _ZNK18QX11EmbedContainer5errorEv

Phil Thompson phil at riverbankcomputing.co.uk
Sun Nov 5 15:03:26 GMT 2006

On Sunday 05 November 2006 2:35 pm, David Boddie wrote:
> On Saturday 04 November 2006 12:35, Andrew Wilkinson wrote:
> > I had been trying to find out when the QX11EmbedWidget class was added,
> > but I couldn't find it. I had to also edit sip/QtGui/qapplication.sip,
> > but once I'd done that it compiles and runs fine.
> I think I was quite confused about when it was introduced, so ignore my
> comment about availability in versions before Qt 4.2. I seem to remember
> that it was introduced in Qt 4.0:
> http://blogs.qtdeveloper.net/archives/2005/08/10/playing-around-with-xembed
> In theory, then, any recent PyQt4 snapshot should work without problems
> unless the underlying QtGui library is built without these classes. I'm not
> sure if that's what Phil meant in his reply.

I meant that there is a bug in Qt prior to v4.2 in that 
QX11EmbedContainer::error() and QX11EmbedWidget::error() are declared in 
the .h file, described in the documentation, but not implemented in the .cpp 


More information about the PyQt mailing list