Android: Don't quote log lines with path names

Change-Id: I70f23af46bd6c8318971b20727e4010889bdcebc
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Alessandro Portale
2022-07-06 18:02:52 +02:00
parent 71ec25895f
commit 8ad4acdd30
9 changed files with 42 additions and 35 deletions

View File

@@ -256,7 +256,8 @@ void AndroidConfig::load(const QSettings &settings)
m_customNdkList.removeAll("");
if (!m_defaultNdk.isEmpty() && ndkVersion(m_defaultNdk).isNull()) {
if (avdConfigLog().isDebugEnabled())
qCDebug(avdConfigLog) << "Clearing invalid default NDK setting:" << m_defaultNdk.path();
qCDebug(avdConfigLog).noquote() << "Clearing invalid default NDK setting:"
<< m_defaultNdk.toUserOutput();
m_defaultNdk.clear();
}
parseDependenciesJson();
@@ -950,8 +951,8 @@ QVersionNumber AndroidConfig::ndkVersion(const FilePath &ndkPath)
{
QVersionNumber version;
if (!ndkPath.exists()) {
qCDebug(avdConfigLog) << "Cannot find ndk version. Check NDK path."
<< ndkPath.toString();
qCDebug(avdConfigLog).noquote() << "Cannot find ndk version. Check NDK path."
<< ndkPath.toUserOutput();
return version;
}