summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-06-10 18:22:38 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-06-23 09:05:35 (GMT)
commitada73373877b71d6cceaf82fc9237c139eb53915 (patch)
treeef555428e583defde8ad32d5c101b4327b4bc652 /qmake
parente4965d686936c8d9b357ec1f7d0fdbc3be8cffca (diff)
downloadQt-ada73373877b71d6cceaf82fc9237c139eb53915.zip
Qt-ada73373877b71d6cceaf82fc9237c139eb53915.tar.gz
Qt-ada73373877b71d6cceaf82fc9237c139eb53915.tar.bz2
remove support for QMAKE_POST_INCLUDE_FILES
google has no mention of it except for a single orphaned instance in our own source code => trash. Reviewed-by: joerg
Diffstat (limited to 'qmake')
-rw-r--r--qmake/project.cpp10
-rw-r--r--qmake/project.h2
2 files changed, 1 insertions, 11 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp
index 5c8066b..60babeb 100644
--- a/qmake/project.cpp
+++ b/qmake/project.cpp
@@ -1406,16 +1406,6 @@ QMakeProject::read(uchar cmd)
return false;
}
- if(cmd & ReadPostFiles) { // parse post files
- const QStringList l = vars["QMAKE_POST_INCLUDE_FILES"];
- for(QStringList::ConstIterator it = l.begin(); it != l.end(); ++it) {
- if(read((*it), vars)) {
- if(vars["QMAKE_INTERNAL_INCLUDED_FILES"].indexOf((*it)) == -1)
- vars["QMAKE_INTERNAL_INCLUDED_FILES"].append((*it));
- }
- }
- }
-
if(cmd & ReadCmdLine) {
parser.file = "(internal)";
parser.from_file = false;
diff --git a/qmake/project.h b/qmake/project.h
index f2edfce..1d9ec04 100644
--- a/qmake/project.h
+++ b/qmake/project.h
@@ -118,7 +118,7 @@ public:
~QMakeProject();
enum { ReadCache=0x01, ReadConf=0x02, ReadCmdLine=0x04, ReadProFile=0x08,
- ReadPostFiles=0x10, ReadFeatures=0x20, ReadConfigs=0x40, ReadAll=0xFF };
+ ReadFeatures=0x20, ReadConfigs=0x40, ReadAll=0xFF };
inline bool parse(const QString &text) { return parse(text, vars); }
bool read(const QString &project, uchar cmd=ReadAll);
bool read(uchar cmd=ReadAll);