From b32f3ba9e4d9a24ddb10c6c5901e2d299aea23ca Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 28 Aug 2012 10:12:36 +0200 Subject: remove pretenses of supporting projects on stdin this may have worked a decade ago, but now it only produces funny Makefiles (and needs hacking main.cpp). the feature doesn't seem *too* important, so just clean it out. Change-Id: I50a60b0e30341f0b523e4a5731c770c9c1013f8b Reviewed-by: Daniel Teske Reviewed-by: Joerg Bornemann --- qmake/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'qmake/main.cpp') diff --git a/qmake/main.cpp b/qmake/main.cpp index 516df7fa48..91c8146c08 100644 --- a/qmake/main.cpp +++ b/qmake/main.cpp @@ -163,8 +163,7 @@ int runQMake(int argc, char **argv) // read project.. if(!project.read(fn)) { fprintf(stderr, "Error processing project file: %s\n", - fn == QLatin1String("-") ? - "(stdin)" : QDir::toNativeSeparators(*pfile).toLatin1().constData()); + QDir::toNativeSeparators(*pfile).toLatin1().constData()); exit_val = 3; continue; } -- cgit v1.2.3