aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2021-10-07 12:03:56 +0200
committerChristian Stenger <christian.stenger@qt.io>2021-10-07 13:26:56 +0000
commit4bea534c62eb8b36d4c2e6a2681a14c2bea349a4 (patch)
tree01b9ae23027532e7cce7ccb8a22f183d3906d993
parent8f974cd1c533e20684df80bcee8c06a94ee7b868 (diff)
CMakePM: Do not register qch files from device
Change-Id: Ie6f8ce74d500d18b69fd5017ddd820356515c21a Reviewed-by: Cristian Adam <cristian.adam@qt.io>
-rw-r--r--src/plugins/cmakeprojectmanager/cmaketool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmaketool.cpp b/src/plugins/cmakeprojectmanager/cmaketool.cpp
index 51daa1bb5f..d407adeb66 100644
--- a/src/plugins/cmakeprojectmanager/cmaketool.cpp
+++ b/src/plugins/cmakeprojectmanager/cmaketool.cpp
@@ -360,7 +360,7 @@ Utils::optional<CMakeTool::ReaderType> CMakeTool::readerType() const
FilePath CMakeTool::searchQchFile(const FilePath &executable)
{
- if (executable.isEmpty())
+ if (executable.isEmpty() || executable.needsDevice()) // do not register docs from devices
return {};
FilePath prefixDir = executable.parentDir().parentDir();