Adds ktexttemplate as apt package to new_docker_build.sh and builds successfully
This commit is contained in:
39 files changed
+647
-208
No files matched your search
@@ -83,12 +83,15 @@ bool XmlReader::readServiceFile(const QString& svcFile, const QString& idlServic
|
||||
INFO_LOG(m_logger) << "SvcFile: " << svcFile;
|
||||
|
||||
QDomDocument doc;
|
||||
auto parseResult = doc.setContent(&f);
|
||||
QString errorMsg;
|
||||
int errorLine = 0;
|
||||
int errorColumn = 0;
|
||||
auto parseResult = doc.setContent(&f, &errorMsg, &errorLine, &errorColumn);
|
||||
if (!parseResult)
|
||||
{
|
||||
m_errorString = QLatin1String("Error parsing service file '") + svcFile + QLatin1String("' at line ") +
|
||||
QString::number(parseResult.errorLine) + QLatin1Char(':') +
|
||||
QString::number(parseResult.errorColumn);
|
||||
QString::number(errorLine) + QLatin1Char(':') +
|
||||
QString::number(errorColumn);
|
||||
ERROR_LOG(m_logger) << m_errorString;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user