Debugger: use Qt version from kit as fallback for dumper

Fixes: QTCREATORBUG-26456
Change-Id: If2cd664212b3fa07d7abaef7a1173f79716884bb
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2021-10-25 12:03:34 +02:00
parent ec422648ad
commit 5a2b58550e
6 changed files with 19 additions and 1 deletions

View File

@@ -262,6 +262,10 @@ void LldbEngine::setupEngine()
runCommand(cmd);
}
DebuggerCommand cmd0("setFallbackQtVersion");
cmd0.arg("version", "0x" + QString::number(rp.fallbackQtVersion, 16));
runCommand(cmd0);
DebuggerCommand cmd1("loadDumpers");
cmd1.callback = [this](const DebuggerResponse &response) {
watchHandler()->addDumpers(response.data["dumpers"]);