diff options
Diffstat (limited to 'tools/qmlcachegen/qmlcachegen.cpp')
| -rw-r--r-- | tools/qmlcachegen/qmlcachegen.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/qmlcachegen/qmlcachegen.cpp b/tools/qmlcachegen/qmlcachegen.cpp index f3fc06bec5..6ade0987f9 100644 --- a/tools/qmlcachegen/qmlcachegen.cpp +++ b/tools/qmlcachegen/qmlcachegen.cpp @@ -241,8 +241,8 @@ int main(int argc, char **argv) QQmlJSLogger logger; // Always trigger the qFatal() on "pragma Strict" violations. - logger.setCategoryLevel(Log_Compiler, QtCriticalMsg); - logger.setCategoryIgnored(Log_Compiler, false); + logger.setCategoryLevel(qmlCompiler, QtCriticalMsg); + logger.setCategoryIgnored(qmlCompiler, false); // By default, we're completely silent, // as the lcAotCompiler category default is QtFatalMsg @@ -265,8 +265,8 @@ int main(int argc, char **argv) if (!warnings.isEmpty()) { logger.log(QStringLiteral("Type warnings occurred while compiling file:"), - Log_Import, QQmlJS::SourceLocation()); - logger.processMessages(warnings, Log_Import); + qmlImport, QQmlJS::SourceLocation()); + logger.processMessages(warnings, qmlImport); } } } else if (inputFile.endsWith(QLatin1String(".js")) || inputFile.endsWith(QLatin1String(".mjs"))) { |
