From e34ee3127043773a037bfd18a2d457d409032ee5 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 2 Feb 2012 18:11:16 +0100 Subject: remove fallback re-initialization of TARGET after parsing project we already initialize it before parsing a project. if a project is daft enough to clear TARGET, it does not deserve differently than breaking. Change-Id: I6c727bc27d72a00e84b676ae3c169024bdb2d929 Reviewed-by: Joerg Bornemann --- qmake/project.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'qmake') diff --git a/qmake/project.cpp b/qmake/project.cpp index a8620334d8..3546ac9877 100644 --- a/qmake/project.cpp +++ b/qmake/project.cpp @@ -1444,9 +1444,6 @@ QMakeProject::read(uchar cmd) parse("CONFIG += " + Option::after_user_configs.join(" "), vars); } - if(pfile != "-" && vars["TARGET"].isEmpty()) - vars["TARGET"].append(QFileInfo(pfile).baseName()); - if(cmd & ReadFeatures) { debug_msg(1, "Processing default_post: %s", vars["CONFIG"].join("::").toLatin1().constData()); doProjectInclude("default_post", IncludeFlagFeature, vars); -- cgit v1.2.3