eric5.py

changeset 265
5805c2e1415b
parent 263
2b328d503567
child 433
988006cb898f
child 514
a3e454b3293d
--- a/eric5.py	Thu May 20 20:13:15 2010 +0200
+++ b/eric5.py	Fri May 21 08:46:21 2010 +0200
@@ -176,17 +176,10 @@
     
     app = E5Application(sys.argv)
     
-    if Utilities.isWindowsPlatform():
-        libPath = os.path.join(Utilities.getPythonModulesDirectory(), 
-                               "PyQt", "plugins")
-        if os.path.exists(libPath):
-            libPath = Utilities.fromNativeSeparators(libPath)
-            libraryPaths = QApplication.libraryPaths()
-            if libPath not in libraryPaths:
-                libraryPaths.insert(0, libPath)
-                QApplication.setLibraryPaths(libraryPaths)
+    # set the library paths for plugins
+    Startup.setLibraryPaths()
 
-    # set the searchpath for icons
+    # set the search path for icons
     Startup.initializeResourceSearchPath()
 
     # generate and show a splash window, if not suppressed

eric ide

mercurial