diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-10-14 12:55:08 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-10-15 10:44:20 +0200 |
commit | f98c961da6d039621ae40ab6c1a79c4b06efb83f (patch) | |
tree | 0eca1d6c2e19e54795da143ecb65279acd972572 /src/qmlcompiler/qmlcompiler.pro | |
parent | ed9ffa109eb2f242b59443ad430204a90c8028c4 (diff) |
qmllint: Defer resolution of types read from QML files
When importing a directory we most likely don't need all of the files in
the directory. Therefore we now parse them only when they are accessed.
This speeds up the execution and will allow us to process imports
recursively without running into infinite recursion.
Change-Id: I0c79313de792249e6bb86144b5014a7787dbdc5b
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qmlcompiler/qmlcompiler.pro')
-rw-r--r-- | src/qmlcompiler/qmlcompiler.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qmlcompiler/qmlcompiler.pro b/src/qmlcompiler/qmlcompiler.pro index 111d27932a..37a1b44b9c 100644 --- a/src/qmlcompiler/qmlcompiler.pro +++ b/src/qmlcompiler/qmlcompiler.pro @@ -13,6 +13,7 @@ SOURCES = \ qqmljsstreamwriter.cpp HEADERS = \ + qdeferredpointer_p.h \ qqmljsresourcefilemapper_p.h \ qqmljsimportvisitor_p.h \ qqmljsimporter_p.h \ |