debugger: extract qt namespace before running the inferior.

This commit is contained in:
hjk
2011-01-17 15:11:11 +01:00
parent fa304b45e5
commit 72671f1463
6 changed files with 38 additions and 16 deletions

View File

@@ -970,7 +970,8 @@ bool QtDumperHelper::parseQuery(const GdbMi &contents)
qDebug() << "parseQuery" << contents.toString(true, 2);
// Common info, dumper version, etc
m_qtNamespace = contents.findChild("namespace").data();
QByteArray ns = contents.findChild("namespace").data();
setQtNamespace(ns);
int qtv = 0;
const GdbMi qtversion = contents.findChild("qtversion");
if (qtversion.children().size() == 3) {