Commit 95617ff9 authored by Robert Loehning's avatar Robert Loehning
Browse files

Qmake: Remove dead code

Change-Id: If28fb24a47a462b5c79ff22ded515d14c010ce72
Reviewed-by: Tobias Hunger's avatarTobias Hunger <>
parent 41127e0f
......@@ -244,7 +244,6 @@ void MakeFileParse::parseAssignments(QList<QMakeAssignment> *assignments)
static FileName findQMakeBinaryFromMakefile(const QString &makefile)
bool debugAdding = false;
QFile fi(makefile);
if (fi.exists() && {
QTextStream ts(&fi);
......@@ -252,8 +251,6 @@ static FileName findQMakeBinaryFromMakefile(const QString &makefile)
while (!ts.atEnd()) {
QString line = ts.readLine();
if (r1.exactMatch(line)) {
if (debugAdding)
qDebug()<<"#~~ QMAKE is:"<<r1.cap(1).trimmed();
QFileInfo qmake(r1.cap(1).trimmed());
QString qmakePath = qmake.filePath();
if (!QString::fromLatin1(QTC_HOST_EXE_SUFFIX).isEmpty()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment