Commit 949bd423 authored by Fawzi Mohamed's avatar Fawzi Mohamed
Browse files

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: default avatarDaniel Teske <daniel.teske@digia.com>
parent ac17b73c
......@@ -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")));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment