From a4bc6e8ee6d05c09d0e9475e84a690c0cd0140ff Mon Sep 17 00:00:00 2001 From: David Schulz Date: Fri, 5 May 2017 07:36:01 +0200 Subject: [PATCH] Debugger: Instruct user to enable CDB support component If the cdbextension can't be found in 4.3 it's most probably caused by an update of Qt Creator via Maintenance Tool. Instruct the user to enable the 'Qt Creator CDB Debugger Support' component via the missing cdbbextension message box. Change-Id: I1e71d89ca75049dc1a2aacbe2b17bebf910a0d91 Reviewed-by: Leena Miettinen Reviewed-by: Eike Ziller --- src/plugins/debugger/cdb/cdbengine.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/plugins/debugger/cdb/cdbengine.cpp b/src/plugins/debugger/cdb/cdbengine.cpp index 54ce5c38573..e9c165ce2cd 100644 --- a/src/plugins/debugger/cdb/cdbengine.cpp +++ b/src/plugins/debugger/cdb/cdbengine.cpp @@ -517,9 +517,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 have updated Qt Creator via Maintenance Tool you may " + "need to rerun the Tool and select \"Add or remove components\"" + "and then select the\n" + "Qt > Tools > Qt Creator > Qt Creator CDB Debugger Support component."). arg(QDir::toNativeSeparators(extensionFi.absoluteFilePath())); return false; }