src/eric7/eric7_ide.py

branch
eric7
changeset 9624
b47dfa7a137d
parent 9488
44d723e53988
child 9628
38ea38cb3073
--- a/src/eric7/eric7_ide.py	Sun Dec 18 14:19:10 2022 +0100
+++ b/src/eric7/eric7_ide.py	Sun Dec 18 19:33:46 2022 +0100
@@ -227,8 +227,8 @@
     """
     Main entry point into the application.
     """
-    from eric7 import Globals
     from eric7.Globals import AppInfo
+    from eric7.SystemUtilities import OSUtilities, QtUtilities
     from eric7.Toolbox import Startup
 
     global app, args, mainWindow, splash, restartArgs, inMainLoop
@@ -326,8 +326,8 @@
     QCoreApplication.processEvents()
 
     # modify the executable search path for the PyQt5 installer
-    if Globals.isWindowsPlatform():
-        pyqtDataDir = Globals.getPyQt6ModulesDirectory()
+    if OSUtilities.isWindowsPlatform():
+        pyqtDataDir = QtUtilities.getPyQt6ModulesDirectory()
         if os.path.exists(os.path.join(pyqtDataDir, "bin")):
             path = os.path.join(pyqtDataDir, "bin")
         else:

eric ide

mercurial