forked from qt-creator/qt-creator
RemoteLinux/Madde: Do not do too much checking in run control factories.
Only check whether we are generally responsible for the given type of run configuration. Delay the other checks to a point where we can give a meaningful error message to the user. Task-number: QTCREATORBUG-6330 Change-Id: I9c8419da7780ebe17ff853bcae3de14b9cb66b71 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -101,6 +101,7 @@ DebuggerStartParameters LinuxDeviceDebugSupport::startParameters(const RemoteLin
|
||||
Target *target = runConfig->target();
|
||||
Kit *k = target->kit();
|
||||
const IDevice::ConstPtr device = DeviceKitInformation::device(k);
|
||||
QTC_ASSERT(device, return params);
|
||||
|
||||
params.sysRoot = SysRootKitInformation::sysRoot(k).toString();
|
||||
params.debuggerCommand = DebuggerKitInformation::debuggerCommand(k).toString();
|
||||
|
||||
Reference in New Issue
Block a user