Debugger: Adjust missing cdbextension message

The cdbextension isn't part of the binary artifacts repository anymore.
Adjust the message so the user knows that he has to build the
cdbextension in the matching bitness by himself.

Change-Id: I5a06edda62be8178fc64fb98468291d395598d74
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2017-04-26 12:30:24 +02:00
parent 5955901f93
commit c3191f5922

View File

@@ -520,9 +520,11 @@ bool CdbEngine::launchCDB(const DebuggerRunParameters &sp, QString *errorMessage
m_wow64State = noWow64Stack;
const QFileInfo extensionFi(CdbEngine::extensionLibraryName(cdbIs64Bit));
if (!extensionFi.isFile()) {
*errorMessage = QString("Internal error: The extension %1 cannot be found.\n"
"If you build Qt Creator from sources, check out "
"https://code.qt.io/cgit/qt-creator/binary-artifacts.git/.").
*errorMessage = tr("Internal error: The extension %1 cannot be found.\n"
"If you build Qt Creator from sources and want to use a cdb executable"
"with another bitness than your Qt Creator build,\n"
"you will need to build a separate cdbextension with the "
"same bitness as the cdb you want to use.").
arg(QDir::toNativeSeparators(extensionFi.absoluteFilePath()));
return false;
}