diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/corelib/loader/projecttreebuilder.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/corelib/loader/projecttreebuilder.cpp b/src/lib/corelib/loader/projecttreebuilder.cpp index a13c3c2e7..a5d224a16 100644 --- a/src/lib/corelib/loader/projecttreebuilder.cpp +++ b/src/lib/corelib/loader/projecttreebuilder.cpp @@ -890,7 +890,8 @@ void ProjectTreeBuilder::Private::handleProduct(ProductContext &product, Deferra disabledItems.unite(groupsHandler.disabledGroups()); // Collect the full list of fileTags, including the values contributed by modules. - if (!product.info.delayedError.hasError() && enabled) { + if (!product.info.delayedError.hasError() && enabled + && !product.name.startsWith(StringConstants::shadowProductPrefix())) { for (const FileTag &tag : fileTags) productsByType.insert({tag, &product}); product.item->setProperty(StringConstants::typeProperty(), |