ios: impove kit handling

* setting sticky to the proprieties that are not supposed to be modified
* mutable device helps when using multiple devices

Change-Id: I739962529c4e92090e57ef6f332c1bed8cf0a2db
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Fawzi Mohamed
2013-10-31 18:09:56 +01:00
parent ac17b73c20
commit 949bd42399

View File

@@ -320,6 +320,13 @@ void IosConfigurations::updateAutomaticKitList()
QVariant id = Debugger::DebuggerItemManager::registerDebugger(debugger);
Debugger::DebuggerKitInformation::setDebugger(newKit, id);
newKit->setMutable(DeviceKitInformation::id(), true);
newKit->setSticky(QtKitInformation::id(), true);
newKit->setSticky(ToolChainKitInformation::id(), true);
newKit->setSticky(DeviceTypeKitInformation::id(), true);
newKit->setSticky(SysRootKitInformation::id(), true);
newKit->setSticky(Debugger::DebuggerKitInformation::id(), true);
SysRootKitInformation::setSysRoot(newKit, p.sdkPath);
// QmakeProjectManager::QmakeKitInformation::setMkspec(newKit,
// Utils::FileName::fromString(QLatin1String("macx-ios-clang")));