Commit e90b0c12 authored by Eike Ziller's avatar Eike Ziller Committed by Daniel Teske
Browse files

Android/Ant selection: Work around file dialog bug on Mac

Task-number: QTCREATORBUG-12184

Change-Id: I2cb7c1549fc2201d4fbe163eb321b0ef11cc8a06
Reviewed-by: default avatarAlessandro Portale <>
Reviewed-by: default avatarDaniel Teske <>
parent 372fc953
......@@ -424,6 +424,10 @@ void AndroidSettingsWidget::browseAntLocation()
if (Utils::HostOsInfo::isWindowsHost()) {
dir = QDir::homePath() + QLatin1String("/ant.bat");
filter = QLatin1String("ant (ant.bat)");
} else if (Utils::HostOsInfo::isMacHost()) {
// work around QTBUG-7739 that prohibits filters that don't start with *
dir = QLatin1String("/usr/bin/ant");
filter = QLatin1String("ant (*ant)");
} else {
dir = QLatin1String("/usr/bin/ant");
filter = QLatin1String("ant (ant)");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment