diff options
| author | Sami Shalayel <sami.shalayel@qt.io> | 2024-10-22 14:54:08 +0200 |
|---|---|---|
| committer | Sami Shalayel <sami.shalayel@qt.io> | 2024-12-12 18:20:55 +0100 |
| commit | 2529b4515b02e1e83f7c01d545299779bf1b671f (patch) | |
| tree | fe061d72e887323529e108b06936882e0a85ed93 /src/qml/compiler/qv4codegen.cpp | |
| parent | 37f69c43412a21c2419d1569ba834f273dced074 (diff) | |
qmllint: add an "error" logging category
Add support for a critical error category in qmllint called "error",
so that the qds plugin can show errors for unsupported components for
example.
Add a test. The error category makes qmllint return -1.
Simplify a bit the logic of the "success" bool in lintFile() by making
it a LintResult and returning it.
Change-Id: Ide6a6a265f1aeede0fcbc35d9e4d0abe3f5c2aa3
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4codegen.cpp')
0 files changed, 0 insertions, 0 deletions
