Merge remote-tracking branch 'origin/4.12'

Change-Id: Ib95ec2c50c4bbaefd4ed0ec5af191ccc846c824f
This commit is contained in:
Eike Ziller
2020-05-04 10:52:34 +02:00
30 changed files with 331 additions and 128 deletions

View File

@@ -43,7 +43,7 @@ CppcheckRunner::CppcheckRunner(CppcheckTool &tool) :
{
if (Utils::HostOsInfo::hostOs() == Utils::OsTypeLinux) {
QProcess getConf;
getConf.start("getconf ARG_MAX");
getConf.start("getconf", {"ARG_MAX"});
getConf.waitForFinished(2000);
const QByteArray argMax = getConf.readAllStandardOutput().replace("\n", "");
m_maxArgumentsLength = std::max(argMax.toInt(), m_maxArgumentsLength);