diff options
author | Tobias Hunger <tobias.hunger@digia.com> | 2013-04-09 12:05:15 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@digia.com> | 2013-04-10 13:19:03 +0200 |
commit | e0f05e3b3338f988f00c28a4b5b9f3b3de1fa19d (patch) | |
tree | 9b7e6cc1a0894d262fcf4443f6e50184bea57343 /src/plugins/qtsupport/customexecutablerunconfiguration.cpp | |
parent | 403f41efb77b06ddf6ecfe82e0ae40a5788f3687 (diff) | |
download | qt-creator-e0f05e3b3338f988f00c28a4b5b9f3b3de1fa19d.tar.gz |
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>
Diffstat (limited to 'src/plugins/qtsupport/customexecutablerunconfiguration.cpp')
-rw-r--r-- | src/plugins/qtsupport/customexecutablerunconfiguration.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/plugins/qtsupport/customexecutablerunconfiguration.cpp b/src/plugins/qtsupport/customexecutablerunconfiguration.cpp index 807488aa6e..b13863ca6d 100644 --- a/src/plugins/qtsupport/customexecutablerunconfiguration.cpp +++ b/src/plugins/qtsupport/customexecutablerunconfiguration.cpp @@ -29,7 +29,7 @@ #include "customexecutablerunconfiguration.h" #include "customexecutableconfigurationwidget.h" -#include "debugginghelper.h" +#include "qtkitinformation.h" #include <projectexplorer/buildconfiguration.h> #include <projectexplorer/project.h> @@ -365,16 +365,12 @@ QWidget *CustomExecutableRunConfiguration::createConfigurationWidget() QString CustomExecutableRunConfiguration::dumperLibrary() const { - Utils::FileName qmakePath = DebuggingHelperLibrary::findSystemQt(environment()); - QString qtInstallData = DebuggingHelperLibrary::qtInstallDataDir(qmakePath); - return DebuggingHelperLibrary::debuggingHelperLibraryByInstallData(qtInstallData); + return QtKitInformation::dumperLibrary(target()->kit()); } QStringList CustomExecutableRunConfiguration::dumperLibraryLocations() const { - Utils::FileName qmakePath = DebuggingHelperLibrary::findSystemQt(environment()); - QString qtInstallData = DebuggingHelperLibrary::qtInstallDataDir(qmakePath); - return DebuggingHelperLibrary::debuggingHelperLibraryDirectories(qtInstallData); + return QtKitInformation::dumperLibraryLocations(target()->kit()); } ProjectExplorer::Abi CustomExecutableRunConfiguration::abi() const |