[PyQt] Two QWebView == Segfault?

Hans-Peter Jansen hpj at urpla.net
Mon Feb 28 21:19:18 GMT 2011


On Monday 28 February 2011, 00:04:16 Robert Siemer wrote:
> On 02/28/2011 06:35 AM, David Boddie wrote:
> > On Sun Feb 27 19:53:16 GMT 2011, Robert Siemer wrote:
> >> What am I doing wrong? – The segmentation fault does not come
> >> immediately. I have to type something (above I typed “j”).
> >
> > Which versions of Qt, SIP and PyQt are you using?
>
> Group answer!
>
> 1) Versions:
> python-qt4   4.7.4-0ubuntu1
> libqtcore4 and libqtgui4   4:4.7.0-0ubuntu4.2
> libqtwebkit4   2.0.0-0ubuntu1
> python-sip   4.10.5-0ubuntu1

Are you sure, that these compiled versions match - e.g. sip and PyQt 
were compiled against these Qt libs?

I ask, because during the time sip 4.10.5 and PyQt 4.7.4 were actual, Qt 
4.7.0 wasn't available yet, IIRC.. And the package suffices are 
suspicious. 

> I see newer versions in Ubuntu natty, should I try them?

Better make sure, that the sip and PyQt versions are compiled with the 
Qt libs in use. While the Qt folks claim backwards compatibility, I 
wouldn't tempt that claim too strong, especially if sip and PyQt is 
compiled against a different revision...

Pete


More information about the PyQt mailing list