forked from qt-creator/qt-creator
Utils: Do not blindly assume qmake* is an executable
Change-Id: Iec444d2883536a0140197af9e8b90e3050d8fc5b Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user