summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/debugginghelper.cpp
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2009-12-11 16:30:49 +0100
committercon <qtc-committer@nokia.com>2009-12-11 17:03:19 +0100
commit8f586cedcd3a1bbca31807f502f59297ecf50386 (patch)
treec7bf4d546b4e0e5dc49f9330ed3ce99a0b46e3bc /src/plugins/projectexplorer/debugginghelper.cpp
parentbdde62837441ed1334e8374654baeed5718b8ced (diff)
downloadqt-creator-8f586cedcd3a1bbca31807f502f59297ecf50386.tar.gz
Couldn't set "/usr/bin/qmake-4.6" or "/Developer/Tools/Qt/qmake" for Qt.
Task-number: QTCREATORBUG-463 Reviewed-by: dt
Diffstat (limited to 'src/plugins/projectexplorer/debugginghelper.cpp')
-rw-r--r--src/plugins/projectexplorer/debugginghelper.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/projectexplorer/debugginghelper.cpp b/src/plugins/projectexplorer/debugginghelper.cpp
index 460f90be30..0c6c27633e 100644
--- a/src/plugins/projectexplorer/debugginghelper.cpp
+++ b/src/plugins/projectexplorer/debugginghelper.cpp
@@ -228,10 +228,6 @@ QString DebuggingHelperLibrary::buildDebuggingHelperLibrary(const QString &direc
QString DebuggingHelperLibrary::qtVersionForQMake(const QString &qmakePath)
{
- QString binary = qmakePath.mid(qmakePath.lastIndexOf('/')+1);
- if (!possibleQMakeCommands().contains(binary))
- return QString();
-
QProcess qmake;
qmake.start(qmakePath, QStringList(QLatin1String("--version")));
if (!qmake.waitForFinished())