give load()/include() with target and infile()/$$fromfile() a clean environment
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Tue, 21 Feb 2012 21:23:48 +0000 (22:23 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 5 Mar 2012 13:46:36 +0000 (14:46 +0100)
commita91c997238253946604165bc17cc0a0c3e3bcb88
tree967ce6c5966c3c8e066d5b3479c3109942e76aa4
parentdeb3c134b5b718e429a71ed0cff8f1f711b30e62
give load()/include() with target and infile()/$$fromfile() a clean environment

load()/include() with a target namespace would inherit the current
context. however, if you source a project with all bells and whistles,
this makes completely no sense and may be actually counterproductive.

infile()/$$fromfile() would have interited only the functions from the
current context. that was only a hack to support abusing them.

Change-Id: I2e992b923d9e5b0e5056001ca49b35de573abc63
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
dist/changes-5.0.0
qmake/project.cpp