aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2021-12-07 18:48:08 +0100
committerMaximilian Goldstein <max.goldstein@qt.io>2021-12-10 17:11:05 +0100
commit52c09a27efafe5566203d86f5e8689f0056a06c7 (patch)
tree28eb23166ec956bba5627c62501415611def8cc2 /tools
parentd4d56b519d455a3f8f234a0853d82dbbf2c05ebe (diff)
qmllint: Use fix suggestions in a more structured way
Fix suggestions are now attached to the warnings they are caused by and are also accessible via JSON. This allows us to use the qmllint library for more of tst_qmllint, greatly improving performance. Change-Id: Idd0398028bff1272a75dc1193d2c15a25d335dbf Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools')
-rw-r--r--tools/qmllint/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmllint/main.cpp b/tools/qmllint/main.cpp
index 0d2ebafc51..29d52736b4 100644
--- a/tools/qmllint/main.cpp
+++ b/tools/qmllint/main.cpp
@@ -51,7 +51,7 @@
#include <cstdio>
-constexpr int JSON_LOGGING_FORMAT_REVISION = 2;
+constexpr int JSON_LOGGING_FORMAT_REVISION = 3;
int main(int argv, char *argc[])
{