QtUtilities.py eric7

Mon, 16 Oct 2023 19:41:27 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 16 Oct 2023 19:41:27 +0200
branch
eric7
changeset 10250
09b42174e077
parent 10249
77b4c59c76d9
child 10251
ec2bedda2b0e

QtUtilities.py
- Extended the search for the 'bin' directory in the 'getQtBinariesPath()' function.

src/eric7/SystemUtilities/QtUtilities.py file | annotate | diff | comparison | revisions
--- a/src/eric7/SystemUtilities/QtUtilities.py	Mon Oct 16 19:24:11 2023 +0200
+++ b/src/eric7/SystemUtilities/QtUtilities.py	Mon Oct 16 19:41:27 2023 +0200
@@ -83,7 +83,9 @@
                 if not os.path.exists(binPath):
                     binPath = qtToolsDir
         else:
-            binPath = Preferences.getQt("QtToolsDir")
+            binPath = os.path.join(qtToolsDir, "bin")
+            if not os.path.exists(binPath):
+                binPath = qtToolsDir
         if not os.path.exists(binPath):
             binPath = ""
 

eric ide

mercurial