--- a/eric5.py Mon Apr 15 19:36:22 2013 +0200 +++ b/eric5.py Mon Apr 22 20:24:58 2013 +0200 @@ -207,16 +207,13 @@ splash = SplashScreen() # modify the executable search path for the PyQt4 installer - try: - from PyQt4 import pyqtconfig - pyqtDataDir = pyqtconfig._pkg_config["pyqt_mod_dir"] + if Globals.isWindowsPlatform(): + pyqtDataDir = os.path.join(Globals.getPythonModulesDirectory(), "PyQt4") if os.path.exists(os.path.join(pyqtDataDir, "bin")): path = os.path.join(pyqtDataDir, "bin") + os.pathsep + os.environ["PATH"] else: path = pyqtDataDir + os.pathsep + os.environ["PATH"] os.environ["PATH"] = path - except (AttributeError, ImportError): - pass pluginFile = None noopen = False