diff options
author | hjk <qthjk@ovi.com> | 2012-08-09 04:25:13 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-08-12 22:42:25 +0200 |
commit | ac9458e664bb56e12b2fb712eecc2ae61bde550a (patch) | |
tree | ddf95129dcb7b8351a54c8140be529440ae25bd4 /src/plugins/debugger/debuggerrunner.cpp | |
parent | bab670af672833d38762512e8161ce22e2885995 (diff) | |
download | qt-creator-ac9458e664bb56e12b2fb712eecc2ae61bde550a.tar.gz |
debugger: move qtInstallPath closer to place where it is used
Change-Id: I6ed602a7cf498d56fa79cef72aebe7742bc50075
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/debugger/debuggerrunner.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerrunner.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/plugins/debugger/debuggerrunner.cpp b/src/plugins/debugger/debuggerrunner.cpp index da14cb5eca..7e017a71cc 100644 --- a/src/plugins/debugger/debuggerrunner.cpp +++ b/src/plugins/debugger/debuggerrunner.cpp @@ -64,7 +64,6 @@ #include <utils/qtcprocess.h> #include <coreplugin/icore.h> #include <coreplugin/helpmanager.h> -#include <utils/buildablehelperlibrary.h> #include <QDir> #include <QCheckBox> @@ -897,17 +896,6 @@ static DebuggerStartParameters localStartParameters(RunConfiguration *runConfigu sp.dumperLibraryLocations = rc->dumperLibraryLocations(); if (target) { - if (QByteArray(target->metaObject()->className()).contains("Qt4")) { - // FIXME: Get this from the profile? - // We could query the QtVersion for this information directly, but then we - // will need to add a dependency on QtSupport to the debugger. - // - // The profile could also get a method to extract the required information from - // its information to avoid this dependecy (as we do for the environment). - const FileName qmake = BuildableHelperLibrary::findSystemQt(sp.environment); - if (!qmake.isEmpty()) - sp.qtInstallPath = findQtInstallPath(qmake); - } if (const Project *project = target->project()) { sp.projectSourceDirectory = project->projectDirectory(); if (const BuildConfiguration *buildConfig = target->activeBuildConfiguration()) |