debugger: make qt source path configurable

This commit is contained in:
hjk
2011-02-23 17:38:09 +01:00
parent 7a35865c50
commit 3331aea7da
8 changed files with 42 additions and 14 deletions

View File

@@ -4492,7 +4492,8 @@ void GdbEngine::notifyInferiorSetupFailed()
void GdbEngine::handleInferiorPrepared()
{
QTC_ASSERT(state() == InferiorSetupRequested, qDebug() << state());
const QByteArray qtInstallPath = startParameters().qtInstallPath.toLocal8Bit();
const QByteArray qtInstallPath =
debuggerCore()->action(QtSourcesLocation)->value().toString().toLocal8Bit();
if (!qtInstallPath.isEmpty()) {
QByteArray qtBuildPath;
#if defined(Q_OS_WIN)