Toolbox/Startup.py

branch
Py2 comp.
changeset 2677
3d4277929fb3
parent 2525
8b507a9a2d40
parent 2614
9c49b4419ea7
child 2791
a9577f248f04
--- a/Toolbox/Startup.py	Fri May 24 18:39:58 2013 +0200
+++ b/Toolbox/Startup.py	Tue May 28 20:52:12 2013 +0200
@@ -133,8 +133,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.getPyQt4ModulesDirectory(), "plugins")
         if os.path.exists(libPath):
             libPath = QDir.fromNativeSeparators(libPath)
             libraryPaths = QApplication.libraryPaths()

eric ide

mercurial