From 65ff34f315b7a1cdc974a5a15acda22572bc870d Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 24 Feb 2011 14:30:51 +0100 Subject: [PATCH] debugger: add C:/ndk_buildrepos/qt-desktop/src as possible source location The whole approach is broken. Task-number: QTCREATORBUG-3804 --- src/plugins/debugger/gdb/gdbengine.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 6473b52ad45..c1198365980 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -4507,10 +4507,13 @@ void GdbEngine::handleInferiorPrepared() if (!qtInstallPath.isEmpty()) { QByteArray qtBuildPath; #if defined(Q_OS_WIN) - qtBuildPath = "C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_create_more/Troll/4.6/qt"; + qtBuildPath = "C:/qt-greenhouse/Trolltech/Code_less_create_more/" + "Trolltech/Code_less_create_more/Troll/4.6/qt"; postCommand("set substitute-path " + qtBuildPath + ' ' + qtInstallPath); qtBuildPath = "C:/iwmake/build_mingw_opensource"; postCommand("set substitute-path " + qtBuildPath + ' ' + qtInstallPath); + qtBuildPath = "C:/ndk_buildrepos/qt-desktop/src"; + postCommand("set substitute-path " + qtBuildPath + ' ' + qtInstallPath); #elif defined(Q_OS_UNIX) && !defined (Q_OS_MAC) qtBuildPath = "/var/tmp/qt-src"; postCommand("set substitute-path " + qtBuildPath + ' ' + qtInstallPath);