From b2ae5218927cf179b71d28c42b67f2c99d8e0071 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Fri, 1 Apr 2022 15:01:05 +0200 Subject: [PATCH] Fix that build device was always set to Local Host Copy and paste error from DeviceKitAspect. The build device has nothing todo with the target device, so it doesn't need to be compatible with the target device type. Amends ec5e060a07b4b6ba5adbb57fb047c43c6baaa1d9 Fixes: QTCREATORBUG-27242 Change-Id: Iab9ae4c9adc98a177d15de705bc07406419f85e1 Reviewed-by: hjk --- src/plugins/projectexplorer/kitinformation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/kitinformation.cpp b/src/plugins/projectexplorer/kitinformation.cpp index 8a3e6758cdd..acf153ddfaa 100644 --- a/src/plugins/projectexplorer/kitinformation.cpp +++ b/src/plugins/projectexplorer/kitinformation.cpp @@ -1244,7 +1244,7 @@ void BuildDeviceKitAspect::setup(Kit *k) { QTC_ASSERT(DeviceManager::instance()->isLoaded(), return ); IDevice::ConstPtr dev = BuildDeviceKitAspect::device(k); - if (!dev.isNull() && dev->isCompatibleWith(k)) + if (!dev.isNull()) return; dev = defaultDevice();