aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlcachegen/qmlcachegen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmlcachegen/qmlcachegen.cpp')
-rw-r--r--tools/qmlcachegen/qmlcachegen.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/qmlcachegen/qmlcachegen.cpp b/tools/qmlcachegen/qmlcachegen.cpp
index 1294a26603..4ec9d58ccb 100644
--- a/tools/qmlcachegen/qmlcachegen.cpp
+++ b/tools/qmlcachegen/qmlcachegen.cpp
@@ -244,8 +244,9 @@ int main(int argc, char **argv)
QQmlJSLogger logger;
// Always trigger the qFatal() on "pragma Strict" violations.
- logger.setCategoryLevel(qmlCompiler, QtCriticalMsg);
+ logger.setCategoryLevel(qmlCompiler, QtWarningMsg);
logger.setCategoryIgnored(qmlCompiler, false);
+ logger.setCategoryFatal(qmlCompiler, true);
// By default, we're completely silent,
// as the lcAotCompiler category default is QtFatalMsg