From 4d5604c8abcb1c3c80726c2d53fded689c13cda6 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Tue, 14 Jan 2025 14:13:10 +0100 Subject: [PATCH] CMakeProjectManager: Include cmake file path for package information Amends 9310c8c148bd927ea12e9fde42fab16fb8a31c5f Include the information where a package was found, so we can filter out packages that are not found in Qt itself. Change-Id: I665ce2623b8fa395caa79ac29ce627a1892fd4b0 Reviewed-by: Cristian Adam --- src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp index 6154e5fb761..71dac7a96a2 100644 --- a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp +++ b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp @@ -857,7 +857,7 @@ QVariant CMakeBuildSystem::additionalData(Id id) const { if (id == "FoundPackages") { // for analytics - return m_findPackagesFilesHash.keys(); + return QVariant::fromValue(m_findPackagesFilesHash); } return {}; }