--- a/src/eric7/SystemUtilities/QtUtilities.py Thu Jun 20 15:18:30 2024 +0200 +++ b/src/eric7/SystemUtilities/QtUtilities.py Fri Jun 21 19:41:16 2024 +0200 @@ -318,17 +318,14 @@ if OSUtilities.isWindowsPlatform(): exe += ".exe" else: - if OSUtilities.isWindowsPlatform(): - exe = FileSystemUtilities.getWindowsExecutablePath(toolname) - else: - exe = toolname + exe = toolname - if not FileSystemUtilities.isinpath(exe) and alternatives: + exePath = FileSystemUtilities.getExecutablePath(exe) + if not exePath and alternatives: ex_ = generatePyQtToolPath(alternatives[0], alternatives[1:]) - if FileSystemUtilities.isinpath(ex_): - exe = ex_ + exePath = FileSystemUtilities.getExecutablePath(ex_) - return exe + return exePath ###############################################################################