summaryrefslogtreecommitdiff
path: root/src/tools/cplusplus-tools-utils/cplusplus-tools-utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/cplusplus-tools-utils/cplusplus-tools-utils.cpp')
-rw-r--r--src/tools/cplusplus-tools-utils/cplusplus-tools-utils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/cplusplus-tools-utils/cplusplus-tools-utils.cpp b/src/tools/cplusplus-tools-utils/cplusplus-tools-utils.cpp
index 97c4d9103c..0a549d3ac0 100644
--- a/src/tools/cplusplus-tools-utils/cplusplus-tools-utils.cpp
+++ b/src/tools/cplusplus-tools-utils/cplusplus-tools-utils.cpp
@@ -58,7 +58,7 @@ void executeCommand(const QString &command, const QStringList &arguments, const
exit(EXIT_FAILURE);
}
- const QString fullCommand = command + QLatin1Char(' ') + arguments.join(QLatin1String(" "));
+ const QString fullCommand = command + QLatin1Char(' ') + arguments.join(QLatin1Char(' '));
if (verbose)
out << "Executing: " << fullCommand << endl;
@@ -100,11 +100,11 @@ SystemPreprocessor::SystemPreprocessor(bool verbose)
QMapIterator<QString, QString> i(m_knownCompilers);
while (i.hasNext()) {
i.next();
- const QString executablePath
+ const Utils::FileName executablePath
= Utils::Environment::systemEnvironment().searchInPath(i.key());
if (!executablePath.isEmpty()) {
m_compiler = i.key();
- m_compilerArguments = i.value().split(QLatin1String(" "), QString::SkipEmptyParts);
+ m_compilerArguments = i.value().split(QLatin1Char(' '), QString::SkipEmptyParts);
m_compilerArguments
<< QDir::toNativeSeparators(QLatin1String(PATH_PREPROCESSOR_CONFIG));
break;