summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2017-05-05 07:36:01 +0200
committerChristian Stenger <christian.stenger@qt.io>2017-05-08 06:55:46 +0000
commita4bc6e8ee6d05c09d0e9475e84a690c0cd0140ff (patch)
tree18ec3c29af6db5491a151a0e41473daa54bb5f9b
parent436a10ce5034d89bb70a0faf28375cd52be05e1e (diff)
downloadqt-creator-a4bc6e8ee6d05c09d0e9475e84a690c0cd0140ff.tar.gz
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 <riitta-leena.miettinen@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r--src/plugins/debugger/cdb/cdbengine.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/debugger/cdb/cdbengine.cpp b/src/plugins/debugger/cdb/cdbengine.cpp
index 54ce5c3857..e9c165ce2c 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;
}