diff options
author | dt <qtc-committer@nokia.com> | 2009-04-24 14:59:47 +0200 |
---|---|---|
committer | dt <qtc-committer@nokia.com> | 2009-04-24 14:59:47 +0200 |
commit | b419403b0fe7508e9191a43de2f35e2146372d7e (patch) | |
tree | d515ce782fc3fcc09d0e22098bc07566a8512bc8 /src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp | |
parent | 55cc9fed5c93aa9a0105312b112db8c611d5c40f (diff) | |
download | qt-creator-b419403b0fe7508e9191a43de2f35e2146372d7e.tar.gz |
Refactoring: Use one common code to find the debugging helper library
Remove duplicated code from cmakeprojectmanager.
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp')
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp b/src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp index 7f7875c1bd..d2b9e57edc 100644 --- a/src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp +++ b/src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp @@ -33,6 +33,7 @@ #include "cmakeprojectconstants.h" #include <projectexplorer/environment.h> +#include <projectexplorer/qtversionmanager.h> #include <utils/qtcassert.h> #include <QtGui/QFormLayout> #include <QtGui/QLineEdit> @@ -140,7 +141,9 @@ void CMakeRunConfiguration::setArguments(const QString &newText) QString CMakeRunConfiguration::dumperLibrary() const { - return CMakeManager::findDumperLibrary(environment()); + QString qmakePath = ProjectExplorer::QtVersionManager::findSystemQt(environment()); + QString dhl = ProjectExplorer::QtVersionManager::debuggingHelperLibrary(qmakePath); + return dhl; } // Factory |