[PyQt] designer segfaults on startup after installing libpythonplugin.so and custom widget

Phil Thompson phil at riverbankcomputing.com
Mon Feb 4 19:00:25 GMT 2008


On Monday 04 February 2008, Glen W. Mabey wrote:
> Hello,
>
> I am creating a designer plugin widget for matplotlib.
>
> I am able to import the python source file (included below) that subclasses
> QtDesigner.QPyDesignerCustomWidgetPlugin without errors.  However, when
> I run designer, it segfaults.
>
> Python 2.5.1
> qt 4.3.3
> pyqt 4.3.3
>
> Is there something obvious I'm missing?
>
> Any suggestions for how to proceed?

Does it crash when you start Designer, or when you create your widget?

Does the plugin.py example work?

Try running under gdb and see if it gives you any useful information as to 
where it is crashing.

Phil


More information about the PyQt mailing list