diff --git a/Lts/Common/CodeGen/tests/GrantleeParserSmoke.cpp b/Lts/Common/CodeGen/tests/GrantleeParserSmoke.cpp index 5af6f98aa..185523b38 100644 --- a/Lts/Common/CodeGen/tests/GrantleeParserSmoke.cpp +++ b/Lts/Common/CodeGen/tests/GrantleeParserSmoke.cpp @@ -20,7 +20,7 @@ int main(int argc, char **argv) engine.addTemplateLoader(loader); QDir d(templatesDir); - QStringList files = d.entryList(QStringList() << "*.grantlee", QDir::Files); + QStringList files = d.entryList(QStringList() << QStringLiteral("*.grantlee"), QDir::Files); if (files.isEmpty()) { qDebug() << "No .grantlee templates found in" << templatesDir; // Treat absence as successful parse (nothing to check) to avoid failing @@ -43,7 +43,7 @@ int main(int argc, char **argv) ok = false; continue; } - if (t->error() != Grantlee::TemplateImpl::Error::NoError) { + if (t->error() != Grantlee::NoError) { qDebug() << "Parse error in" << f << ":" << t->errorString(); ok = false; continue;