summaryrefslogtreecommitdiffstats
path: root/qmake/project.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/project.cpp')
-rw-r--r--qmake/project.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp
index 2a7094376f..0df2169ad8 100644
--- a/qmake/project.cpp
+++ b/qmake/project.cpp
@@ -2744,6 +2744,8 @@ QMakeProject::doProjectTest(QString func, QList<QStringList> args_list, QHash<QS
return testFunctions.contains(args[0]);
else if(args[1] == "replace")
return replaceFunctions.contains(args[0]);
+ else if(args[1] == "var")
+ return place.contains(args[0]);
fprintf(stderr, "%s:%d: defined(function, type): unexpected type [%s].\n",
parser.file.toLatin1().constData(), parser.line_no,
args[1].toLatin1().constData());