diff options
author | Maximilian Goldstein <max.goldstein@qt.io> | 2021-03-25 15:34:42 +0100 |
---|---|---|
committer | Maximilian Goldstein <max.goldstein@qt.io> | 2021-03-29 12:31:01 +0100 |
commit | 954071f372b70f3656386793e2fca382c1b0a1c0 (patch) | |
tree | ace5d46d8c00b5d96463365832eb0c14b75f812b /src/qmlcompiler/qqmljstypereader.cpp | |
parent | b82ae347397595241dcd4a5848ad0c6bfae4574b (diff) |
qmlcompiler/qmllint: Use unified logger
Improves the logging situation greatly by allowing all logging messages to be assigned different severities,
highlighting the code that caused them and by now ensuring a qmllint warning will always result in a non-zero exit code.
A later patch will expose more of these options to the user.
Change-Id: Id9b036fe3ba80dd18e9f8cb1b05efa891713d5a8
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljstypereader.cpp')
-rw-r--r-- | src/qmlcompiler/qqmljstypereader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmlcompiler/qqmljstypereader.cpp b/src/qmlcompiler/qqmljstypereader.cpp index db64a9426b..cd9d604044 100644 --- a/src/qmlcompiler/qqmljstypereader.cpp +++ b/src/qmlcompiler/qqmljstypereader.cpp @@ -86,7 +86,7 @@ QQmlJSScope::Ptr QQmlJSTypeReader::operator()() m_importer, QQmlJSImportVisitor::implicitImportDirectory( m_file, m_importer->resourceFileMapper()), - m_qmltypesFiles); + m_qmltypesFiles, m_file, code); rootNode->accept(&membersVisitor); auto result = membersVisitor.result(); result->setInternalName(scopeName); |