diff options
author | Olli Vuolteenaho <[email protected]> | 2025-06-02 14:06:46 +0300 |
---|---|---|
committer | Olli Vuolteenaho <[email protected]> | 2025-06-02 17:40:54 +0300 |
commit | 3bf9047a342ed2699339c29f84f4d60e39353102 (patch) | |
tree | 53b2249110bf82cccc18d9f90a3b02acb123b834 /src/gui/util/qabstractlayoutstyleinfo.cpp | |
parent | 7d163200f9d6f47bce941969869c54369fc26056 (diff) |
appImports can have the same directory added multiple times - first if
it's found in the xxx_conf.rsp file and secondly for the inner qmldir
scanner. This is because the xxx_conf.rsp file can have both the
qmlModule directory and the parent of that directory as importPaths. For
example like this (the paths are truncated to save characters):
-importPath
.../build/qt_generated/qtquickview/qmlModule
-importPath
.../build/qt_generated/qtquickview
In this case when the "inner qmldir" finder processes the later path,
it would go to ./qmlModule, find the qmldir and add another
.../build/qt_generated/qtquickview/qmlModule to appImports. Also, if
there were other qmldir files somewhere under qmlModule those would
also get added twice, which would increase generation time yet again.
This commits solves the issue by removing duplicates from appImports.
Amends 7ed88eb565d40b195aa868e67777872ef07a5ea2.
Pick-to: 6.10 6.9 6.8
Fixes: QTBUG-137316
Change-Id: I641065479aec0f3d9ae1a8727a03bf62eb169ad6
Reviewed-by: Assam Boudjelthia <[email protected]>
Diffstat (limited to 'src/gui/util/qabstractlayoutstyleinfo.cpp')
0 files changed, 0 insertions, 0 deletions