summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFawzi Mohamed <fawzi.mohamed@digia.com>2013-10-31 18:09:56 +0100
committerFawzi Mohamed <fawzi.mohamed@digia.com>2013-11-01 10:13:08 +0100
commit949bd4239932d6b7333b1100cfa5bfc8f50e7440 (patch)
treeb8686c26de9009b25ef1314981237a52dcbef1e9 /src
parentac17b73c20cd83798196f2ccb1eca8ad5d27cfd2 (diff)
downloadqt-creator-949bd4239932d6b7333b1100cfa5bfc8f50e7440.tar.gz
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>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/ios/iosconfigurations.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/ios/iosconfigurations.cpp b/src/plugins/ios/iosconfigurations.cpp
index 83fd2803ab..33fff0a291 100644
--- a/src/plugins/ios/iosconfigurations.cpp
+++ b/src/plugins/ios/iosconfigurations.cpp
@@ -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")));