Docker: Remove the dependency on docker for the kit detector

This is in preparation for perhaps moving the kit detector into another
plugin such as project explorer for usage by remote linux devices for
instance.

Change-Id: Ie17ab3913aed9ccc895213882cd188c16affda15
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Adam Treat
2022-05-27 22:08:38 -04:00
parent 99c37ab7b7
commit 190988bd0b

View File

@@ -25,8 +25,6 @@
#include "kitdetector.h"
#include "dockerconstants.h"
#include <cmakeprojectmanager/cmakeprojectconstants.h>
#include <extensionsystem/pluginmanager.h>
@@ -337,7 +335,7 @@ void KitDetectorPrivate::autoDetect()
if (cmakeId.isValid())
k->setValue(CMakeProjectManager::Constants::TOOL_ID, cmakeId.toSetting());
DeviceTypeKitAspect::setDeviceTypeId(k, Constants::DOCKER_DEVICE_TYPE);
DeviceTypeKitAspect::setDeviceTypeId(k, m_device->type());
DeviceKitAspect::setDevice(k, m_device);
BuildDeviceKitAspect::setDevice(k, m_device);