forked from qt-creator/qt-creator
Utils: More explicit host os use to make it stand out
Quite a few of the uses are actually wrong, but are better visible now and therefore more likely to be fixed. Change-Id: Ia51f7d6eb1b2d3a9c9f73d67dabacfd227c44b15 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
#include <QFile>
|
||||
#include <QFileInfo>
|
||||
|
||||
using namespace Utils;
|
||||
|
||||
namespace AutotoolsProjectManager::Internal {
|
||||
|
||||
MakefileParser::MakefileParser(const QString &makefile) : m_makefile(makefile)
|
||||
@@ -423,7 +425,7 @@ QStringList MakefileParser::parseTermsAfterAssign(const QString &line)
|
||||
if (assignPos <= 0 || assignPos >= line.size())
|
||||
return QStringList();
|
||||
|
||||
const QStringList parts = Utils::ProcessArgs::splitArgs(line.mid(assignPos));
|
||||
const QStringList parts = ProcessArgs::splitArgs(line.mid(assignPos), HostOsInfo::hostOs());
|
||||
QStringList result;
|
||||
for (int i = 0; i < parts.count(); ++i) {
|
||||
const QString cur = parts.at(i);
|
||||
|
||||
Reference in New Issue
Block a user