diff -r 3f785deb97eb -r dd77cc80e343 Toolbox/Startup.py --- a/Toolbox/Startup.py Sun Apr 21 13:04:02 2013 +0200 +++ b/Toolbox/Startup.py Mon Apr 22 20:24:58 2013 +0200 @@ -131,8 +131,7 @@ Module function to set the Qt library paths correctly for windows systems. """ if Globals.isWindowsPlatform(): - from PyQt4 import pyqtconfig - libPath = os.path.join(pyqtconfig._pkg_config["pyqt_mod_dir"], "plugins") + libPath = os.path.join(Globals.getPythonModulesDirectory(), "PyQt4", "plugins") if os.path.exists(libPath): libPath = QDir.fromNativeSeparators(libPath) libraryPaths = QApplication.libraryPaths()