From d5e666b0122ca1fa37a14914bd4d7a881c77a6b5 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Tue, 6 Feb 2018 15:37:53 +0100 Subject: [PATCH] Utils: Do not blindly assume qmake* is an executable Change-Id: Iec444d2883536a0140197af9e8b90e3050d8fc5b Reviewed-by: Tobias Hunger --- src/libs/utils/buildablehelperlibrary.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/utils/buildablehelperlibrary.cpp b/src/libs/utils/buildablehelperlibrary.cpp index caec6342630..3c53e09b2a4 100644 --- a/src/libs/utils/buildablehelperlibrary.cpp +++ b/src/libs/utils/buildablehelperlibrary.cpp @@ -155,7 +155,7 @@ QStringList BuildableHelperLibrary::possibleQMakeCommands() // On Unix some distributions renamed qmake with a postfix to avoid clashes // On OS X, Qt 4 binary packages also has renamed qmake. There are also symbolic links that are // named "qmake", but the file dialog always checks against resolved links (native Cocoa issue) - return QStringList(QLatin1String("qmake*")); + return QStringList(HostOsInfo::withExecutableSuffix("qmake*")); } // Copy helper source files to a target directory, replacing older files.