Toolbox/Startup.py

branch
5_3_x
changeset 2611
dd77cc80e343
parent 2302
f29e9405c851
child 2614
9c49b4419ea7
child 3163
9f50365a0870
--- 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()

eric ide

mercurial