[PyQt] problem with eric

Pradnyesh Sawant spradml at gmail.com
Sat Oct 20 04:58:42 BST 2007

I have the following single line in my .py file:

from PyQt4 import QtCore, QtGui

if i run it from eric, i get the following error:

unhandled RuntimeError
"the PyQt4.QtCore and qt modules both wrap the QObject class"

i think that eric is probably trying to load both Qt3 and Qt4, but i don't 
understand why (i'm explicitly mentioning PyQt4). How do i tell eric to use 
just Qt4, and not Qt3?

ps: i have made both Qt and Qt4 Directory to contain /usr/share/qt4, in 
preferences->qt. but that too does not help.
warm regards,
Pradnyesh Sawant
There are two kinds of people: those who do the work, and those who take
the credit. Try to be in the first group; there is less competition there.
--Indira Gandhi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20071020/8e84d636/attachment.bin

More information about the PyQt mailing list