forked from qt-creator/qt-creator
CMakePM: Do not register qch files from device
Change-Id: Ie6f8ce74d500d18b69fd5017ddd820356515c21a Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user