Unify handling of dumperLibrary/dumperLibraryLocations

across its uses. We have the kits now, so we can use the information
from there and no longer need to guess at the dumpers to use.

Change-Id: I058304198e9c7fdbad45a84658e1bcea8ed9834d
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Tobias Hunger
2013-04-09 12:05:15 +02:00
parent 403f41efb7
commit e0f05e3b33
5 changed files with 29 additions and 23 deletions

View File

@@ -673,18 +673,12 @@ QString Qt4RunConfiguration::proFilePath() const
QString Qt4RunConfiguration::dumperLibrary() const
{
QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(target()->kit());
if (version)
return version->gdbDebuggingHelperLibrary();
return QString();
return QtSupport::QtKitInformation::dumperLibrary(target()->kit());
}
QStringList Qt4RunConfiguration::dumperLibraryLocations() const
{
QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(target()->kit());
if (version)
return version->debuggingHelperLibraryLocations();
return QStringList();
return QtSupport::QtKitInformation::dumperLibraryLocations(target()->kit());
}
QString Qt4RunConfiguration::defaultDisplayName()