Cleans up only warnings and specific CMake/include path error in the Qt6 migration tree, using strictly minimal changes with minimal side effects.

This commit is contained in:
torsten committed 2026-09-11 15:14:11 +00:00
1 parent 67491249c2
commit 3aa0b04ebd
8 files changed
+18 -18

No files matched your search

@@ -82,15 +82,13 @@ bool XmlReader::readServiceFile(const QString& svcFile, const QString& idlServic
INFO_LOG(m_logger) << "SvcFile: " << svcFile;
QString errMsg;
int errLine = 0;
int errColumn = 0;
QDomDocument doc;
if (!doc.setContent(&f, &errMsg, &errLine, &errColumn))
auto parseResult = doc.setContent(&f);
if (!parseResult)
{
m_errorString = QLatin1String("Error parsing service file '") + svcFile + QLatin1String("': ") + errMsg +
QLatin1String(" at ") + QString::number(errLine) + QLatin1Char(':') +
QString::number(errColumn);
m_errorString = QLatin1String("Error parsing service file '") + svcFile + QLatin1String("' at line ") +
QString::number(parseResult.errorLine) + QLatin1Char(':') +
QString::number(parseResult.errorColumn);
ERROR_LOG(m_logger) << m_errorString;
return false;
}