Blob Blame History Raw
diff -rupN --no-dereference qt-creator-opensource-src-4.12.3/src/libs/utils/buildablehelperlibrary.cpp qt-creator-opensource-src-4.12.3-new/src/libs/utils/buildablehelperlibrary.cpp
--- qt-creator-opensource-src-4.12.3/src/libs/utils/buildablehelperlibrary.cpp	2020-06-16 04:14:25.000000000 +0200
+++ qt-creator-opensource-src-4.12.3-new/src/libs/utils/buildablehelperlibrary.cpp	2020-06-17 21:36:58.679219477 +0200
@@ -179,7 +179,12 @@ QStringList BuildableHelperLibrary::poss
     // 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(HostOsInfo::withExecutableSuffix("qmake*"));
+    return QStringList()
+        << HostOsInfo::withExecutableSuffix("qmake-qt6")
+        << HostOsInfo::withExecutableSuffix("qmake-qt5")
+        << HostOsInfo::withExecutableSuffix("qmake-qt4")
+        << HostOsInfo::withExecutableSuffix("qmake-qt3")
+        << HostOsInfo::withExecutableSuffix("qmake");
 }
 
 // Copy helper source files to a target directory, replacing older files.