forked from qt-creator/qt-creator
ProjectExplorer: Really don't create replacment kits for Design Studio
Amends b5dec80d6b
.
Change-Id: I34b263626c66dfec2676ff311d1f5e460333b924
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -821,7 +821,11 @@ void Project::createTargetFromMap(const Store &map, int index)
|
||||
}
|
||||
|
||||
Kit *k = KitManager::kit(id);
|
||||
if (!k && !ICore::isQtDesignStudio()) {
|
||||
if (!k) {
|
||||
// QDS does not want replacement kits.
|
||||
if (ICore::isQtDesignStudio())
|
||||
return;
|
||||
|
||||
Id deviceTypeId = Id::fromSetting(targetMap.value(Target::deviceTypeKey()));
|
||||
if (!deviceTypeId.isValid())
|
||||
deviceTypeId = Constants::DESKTOP_DEVICE_TYPE;
|
||||
|
Reference in New Issue
Block a user