forked from qt-creator/qt-creator
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:
@@ -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")));
|
||||
|
Reference in New Issue
Block a user