From 61790e54e8155e1e57bfdd372726dfb2117c4563 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Wed, 13 Apr 2011 11:25:23 +0200 Subject: [PATCH] Maemo: Use debugger set up by the SDK Use the debugger set up by the Qt SDK instead of the one shipped with Maemo/Meego. Task-number: QTCREATORBUG-4299 Reviewed-by: Christian Kandeler --- .../qt4projectmanager/qt-maemo/maemorunconfiguration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemorunconfiguration.cpp b/src/plugins/qt4projectmanager/qt-maemo/maemorunconfiguration.cpp index 244ac387f12..2a6a180c84e 100644 --- a/src/plugins/qt4projectmanager/qt-maemo/maemorunconfiguration.cpp +++ b/src/plugins/qt4projectmanager/qt-maemo/maemorunconfiguration.cpp @@ -228,7 +228,7 @@ const MaemoToolChain *MaemoRunConfiguration::toolchain() const const QString MaemoRunConfiguration::gdbCmd() const { - return QDir::toNativeSeparators(targetRoot() + QLatin1String("/bin/gdb")); + return QDir::toNativeSeparators(activeBuildConfiguration()->toolChain()->debuggerCommand()); } MaemoDeployStep *MaemoRunConfiguration::deployStep() const