problem with eric

P

Pradnyesh Sawant

Hello,
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,961
Messages
2,570,130
Members
46,689
Latest member
liammiller

Latest Threads

Top