aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlcachegen/qmlcachegen.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2022-02-17 18:10:50 +0100
committerUlf Hermann <ulf.hermann@qt.io>2022-02-18 12:13:47 +0100
commit6ff2669b36d1c5632c4eed385e866403368fe331 (patch)
treeb01c09411a5aba294a1399f4627c79e51cfc4526 /tools/qmlcachegen/qmlcachegen.cpp
parentd0f4e0c037cf61eb5bb559755ee7c9ce6cf6b7dc (diff)
qmlcachegen: Re-enable pragma Strict checking
We've accidentally disabled the pragma Strict check when re-designing the logging system. Change-Id: I74cf0d4a45742831037ec0bc0615f1f6a15b7023 Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'tools/qmlcachegen/qmlcachegen.cpp')
-rw-r--r--tools/qmlcachegen/qmlcachegen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qmlcachegen/qmlcachegen.cpp b/tools/qmlcachegen/qmlcachegen.cpp
index 918c83e6d6..7a715d5d13 100644
--- a/tools/qmlcachegen/qmlcachegen.cpp
+++ b/tools/qmlcachegen/qmlcachegen.cpp
@@ -271,6 +271,7 @@ int main(int argc, char **argv)
// Always trigger the qFatal() on "pragma Strict" violations.
logger.setCategoryLevel(Log_Compiler, QtCriticalMsg);
+ logger.setCategoryIgnored(Log_Compiler, false);
// By default, we're completely silent,
// as the lcAotCompiler category default is QtFatalMsg