--- a/eric5.py Mon Jul 08 21:47:26 2013 +0200 +++ b/eric5.py Mon Jul 08 22:36:10 2013 +0200 @@ -30,7 +30,7 @@ import logging from PyQt4.QtCore import qWarning, QLibraryInfo, QTimer -from PyQt4.QtGui import QApplication, QErrorMessage +from PyQt4.QtGui import QApplication # some global variables needed to start the application args = None @@ -264,7 +264,8 @@ QTimer.singleShot(0, uiStartUp) # generate a graphical error handler - eMsg = QErrorMessage.qtHandler() + from E5Gui import E5ErrorMessage + eMsg = E5ErrorMessage.qtHandler() eMsg.setMinimumSize(600, 400) # start the event loop