src/eric7/Globals/__init__.py

branch
eric7
changeset 9413
80c06d472826
parent 9361
718bc86e1c3f
child 9420
92810aebc909
--- a/src/eric7/Globals/__init__.py	Tue Oct 18 16:05:20 2022 +0200
+++ b/src/eric7/Globals/__init__.py	Tue Oct 18 16:06:21 2022 +0200
@@ -304,7 +304,7 @@
     @return path to the PyQt tools
     @rtype str
     """
-    import Preferences
+    from eric7 import Preferences
 
     toolsPath = ""
 
@@ -320,7 +320,7 @@
     if not toolsPath:
         program = "pylupdate{0}".format(version)
         if venvName:
-            from EricWidgets.EricApplication import ericApp
+            from eric7.EricWidgets.EricApplication import ericApp
 
             venvManager = ericApp().getObject("VirtualEnvManager")
             dirName = venvManager.getVirtualenvDirectory(venvName)
@@ -352,7 +352,7 @@
     @return path of the Qt binaries
     @rtype str
     """
-    import Preferences
+    from eric7 import Preferences
 
     binPath = ""
 

eric ide

mercurial