Corrected an issue determining the path of the Qt tools. eric7

Mon, 03 Jun 2024 14:29:30 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 03 Jun 2024 14:29:30 +0200
branch
eric7
changeset 10737
9600492ebfa7
parent 10736
0d213bb8b7f0
child 10738
37101524dd76
child 10739
3b2d228db064

Corrected an issue determining the path of the Qt tools.

src/eric7/SystemUtilities/QtUtilities.py file | annotate | diff | comparison | revisions
--- a/src/eric7/SystemUtilities/QtUtilities.py	Mon Jun 03 10:18:13 2024 +0200
+++ b/src/eric7/SystemUtilities/QtUtilities.py	Mon Jun 03 14:29:30 2024 +0200
@@ -118,6 +118,8 @@
             if libexec
             else QLibraryInfo.path(QLibraryInfo.LibraryPath.BinariesPath)
         )
+        if not os.path.exists(binPath):
+            binPath = ""
 
     # step 4: determine from used Python interpreter (designer is test object)
     if not binPath:

eric ide

mercurial