summaryrefslogtreecommitdiff
path: root/src/app/qbs-setup-toolchains/commandlineparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/qbs-setup-toolchains/commandlineparser.cpp')
-rw-r--r--src/app/qbs-setup-toolchains/commandlineparser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/qbs-setup-toolchains/commandlineparser.cpp b/src/app/qbs-setup-toolchains/commandlineparser.cpp
index fd2e0214f..d96e18b7d 100644
--- a/src/app/qbs-setup-toolchains/commandlineparser.cpp
+++ b/src/app/qbs-setup-toolchains/commandlineparser.cpp
@@ -97,6 +97,7 @@ void CommandLineParser::parse(const QStringList &commandLine)
case 2:
m_compilerPath = m_commandLine.at(0);
m_profileName = m_commandLine.at(1);
+ m_profileName.replace(QLatin1Char('.'), QLatin1Char('-'));
break;
default:
complainAboutExtraArguments();