forked from qt-creator/qt-creator
debugger: hard-code some qt5 related paths
This is not a final solution. Change-Id: I19e7a99e1b056704864d27855197678a0d3fd10b Reviewed-on: http://codereview.qt-project.org/5073 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -459,7 +459,7 @@ static QList<DebuggerEngineType> enginesForMode(DebuggerStartMode startMode,
|
||||
case StartRemoteGdb:
|
||||
result.push_back(GdbEngineType);
|
||||
break;
|
||||
case AttachToRemote:
|
||||
case AttachToRemoteServer:
|
||||
if (!hardConstraintsOnly) {
|
||||
#ifdef Q_OS_WIN
|
||||
result.push_back(CdbEngineType);
|
||||
@@ -509,7 +509,7 @@ static QList<DebuggerEngineType> engineTypes(const DebuggerStartParameters &sp)
|
||||
return result;
|
||||
}
|
||||
|
||||
if (sp.startMode != AttachToRemote && !sp.executable.isEmpty())
|
||||
if (sp.startMode != AttachToRemoteServer && !sp.executable.isEmpty())
|
||||
result = enginesForExecutable(sp.executable);
|
||||
if (!result.isEmpty())
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user