diff -r 9bc065cde412 -r 122dd6b685f7 PluginCxFreeze.py --- a/PluginCxFreeze.py Sun Apr 28 18:03:57 2013 +0200 +++ b/PluginCxFreeze.py Sun Apr 28 18:06:40 2013 +0200 @@ -11,8 +11,9 @@ import sys from PyQt4.QtCore import QObject, QTranslator, QCoreApplication -from PyQt4.QtGui import QDialog, QMessageBox +from PyQt4.QtGui import QDialog +from E5Gui import E5MessageBox from E5Gui.E5Action import E5Action from E5Gui.E5Application import e5App @@ -259,18 +260,17 @@ project = e5App().getObject("Project") if len(project.pdata["MAINSCRIPT"]) == 0: # no main script defined - QMessageBox.critical(None, + E5MessageBox.critical(None, self.trUtf8("cxfreeze"), self.trUtf8( """There is no main script defined for the current project."""), - QMessageBox.StandardButtons( - QMessageBox.Abort)) + E5MessageBox.StandardButtons(E5MessageBox.Abort)) return parms = project.getData('PACKAGERSPARMS', "CXFREEZE") exe = _findExecutable() if exe is None: - QMessageBox.critical(None, + E5MessageBox.critical(None, self.trUtf8("cxfreeze"), self.trUtf8("""The cxfreeze executable could not be found.""")) return