[PyKDE] Problem starting PyQt4 programs from eric3

Phil Thompson phil at riverbankcomputing.co.uk
Wed Jan 11 08:15:18 GMT 2006

On Wednesday 11 January 2006 12:24 am, Andreas Pakulat wrote:
> Hi,
> just discovered that I can't seem to start PyQt4 programs that import
> QtCore from eric3.
> I get a runtime exception telling me that QtCore and "qt" wrap the
> QObject class.
> I'm pretty sure that this is not really an eric3-problem, running such a
> program from eric3 is just the easiest way to get this.
> I guess the problem is rather that PyQt or sip do not support to have 2
> QObject classes from 2 different libs.
> Phil is there a way to avoid this "clash"? I don't want to have 2
> pythons to use PyQt4 from within eric3.

I think it's an eric3 bug. It will happen when qt and QtCore are imported into 
the same interpreter.


More information about the PyQt mailing list