Boot2Qt: Simplify QdbDeviceDebugSupport

Remove setting the remote channel and qml server.
This is already done by its superclass, inside:
DebuggerRunTool::continueAfterTerminalStart().

Task-number: QTCREATORBUG-29168
Change-Id: I9ed25599d0da920af2eee7908e127cc0e3f46805
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2024-11-21 09:56:17 +01:00
parent 7e9c7785ea
commit be434b6a8e

View File

@@ -136,14 +136,9 @@ void QdbDeviceDebugSupport::start()
{ {
setStartMode(Debugger::AttachToRemoteServer); setStartMode(Debugger::AttachToRemoteServer);
setCloseMode(KillAndExitMonitorAtClose); setCloseMode(KillAndExitMonitorAtClose);
if (usesDebugChannel())
setRemoteChannel(debugChannel());
if (usesQmlChannel())
setQmlServer(qmlChannel());
setUseContinueInsteadOfRun(true); setUseContinueInsteadOfRun(true);
setContinueAfterAttach(true); setContinueAfterAttach(true);
addSolibSearchDir("%{sysroot}/system/lib"); addSolibSearchDir("%{sysroot}/system/lib");
DebuggerRunTool::start(); DebuggerRunTool::start();
} }