diff -r 87aea19c1988 -r c008503ee766 eric5.py --- a/eric5.py Sat Oct 23 19:15:51 2010 +0200 +++ b/eric5.py Sat Oct 23 19:54:52 2010 +0200 @@ -193,6 +193,16 @@ else: splash = SplashScreen() + # modify the executable search path for the PyQt4 installer + try: + from PyQt4 import pyqtconfig + pyqtDataDir = pyqtconfig._pkg_config["pyqt_mod_dir"] + if os.path.exists(os.path.join(pyqtDataDir, "bin")): + path = os.path.join(pyqtDataDir, "bin") + os.pathsep + os.environ["PATH"] + os.environ["PATH"] = path + except (AttributeError, ImportError): + pass + pluginFile = None noopen = False if "--noopen" in sys.argv and sys.argv.index("--noopen") < ddindex: