Toolbox/Startup.py

changeset 3656
441956d8fce5
parent 3621
15f23ed3f216
child 3670
f0cb7579c0b4
diff -r ffeb85cdc72d -r 441956d8fce5 Toolbox/Startup.py
--- a/Toolbox/Startup.py	Sun Jun 29 14:00:30 2014 +0200
+++ b/Toolbox/Startup.py	Sun Jun 29 20:13:56 2014 +0200
@@ -12,9 +12,9 @@
 import os
 import sys
 
-from PyQt4.QtCore import QTranslator, QLocale, QLibraryInfo, QDir, \
+from PyQt5.QtCore import QTranslator, QLocale, QLibraryInfo, QDir, \
     QTextCodec, qVersion
-from PyQt4.QtGui import QApplication
+from PyQt5.QtWidgets import QApplication
 
 from E5Gui.E5Application import E5Application
 
@@ -138,7 +138,7 @@
     Module function to set the Qt library paths correctly for windows systems.
     """
     if Globals.isWindowsPlatform():
-        libPath = os.path.join(Globals.getPyQt4ModulesDirectory(), "plugins")
+        libPath = os.path.join(Globals.getPyQt5ModulesDirectory(), "plugins")
         if os.path.exists(libPath):
             libPath = QDir.fromNativeSeparators(libPath)
             libraryPaths = QApplication.libraryPaths()

eric ide

mercurial