diff options
author | Maximilian Goldstein <max.goldstein@qt.io> | 2022-02-03 12:01:35 +0100 |
---|---|---|
committer | Maximilian Goldstein <max.goldstein@qt.io> | 2022-02-03 22:55:53 +0100 |
commit | 07917626f5f0c92c1b3518532d08a903b8aa6247 (patch) | |
tree | 5dd6cc6f62298a8b65c5de766053ccfd7accac2c /tools/qmllint/main.cpp | |
parent | d08038ba7015dc681c95654f7fe5e54b60c2e55c (diff) |
qmlcompiler: Remove qmllint library
Since all of the superfluous components of qmllint have been
removed now, we can just move what little custom linter logic
remains to qmlcompiler.
Change-Id: I91c752cb895e7d6c6f2dd4e2ccafb6cd05afa225
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools/qmllint/main.cpp')
-rw-r--r-- | tools/qmllint/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/qmllint/main.cpp b/tools/qmllint/main.cpp index eb744b3c19..484b6f4a63 100644 --- a/tools/qmllint/main.cpp +++ b/tools/qmllint/main.cpp @@ -28,10 +28,9 @@ #include "../shared/qqmltoolingsettings.h" -#include <QtQmlLint/private/qqmllinter_p.h> - #include <QtQmlCompiler/private/qqmljsresourcefilemapper_p.h> #include <QtQmlCompiler/private/qqmljscompiler_p.h> +#include <QtQmlCompiler/private/qqmljslinter_p.h> #include <QtCore/qdebug.h> #include <QtCore/qfile.h> @@ -224,7 +223,7 @@ All warnings can be set to three levels: QStringList resourceFiles = defaultResourceFiles; bool success = true; - QQmlLinter linter(qmlImportPaths, useAbsolutePath); + QQmlJSLinter linter(qmlImportPaths, useAbsolutePath); QJsonArray jsonFiles; |