summaryrefslogtreecommitdiffstats
path: root/qmake/project.h
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-08-28 20:53:25 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-11 07:04:20 +0200
commit3322759b49973c1b8f6372c72eace3dc38de36e6 (patch)
tree4fa0a1c6af1c8595fb05d20402eabc0680abc755 /qmake/project.h
parent0f53c2c4e8dc5684f6635f1169c8cbd6edd871a6 (diff)
give location information for QMAKE_SUBSTITUTES conditionals
Change-Id: I9b6bee252d4ed4bf263394ace29a4fb3b324a8cd Reviewed-by: Daniel Teske <daniel.teske@nokia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'qmake/project.h')
-rw-r--r--qmake/project.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qmake/project.h b/qmake/project.h
index efee317386..f38b4351fe 100644
--- a/qmake/project.h
+++ b/qmake/project.h
@@ -64,8 +64,8 @@ public:
ProString expand(const QString &v, const QString &file, int line);
QStringList expand(const ProKey &func, const QList<ProStringList> &args);
- bool test(const QString &v)
- { m_current.clear(); return evaluateConditional(v, QStringLiteral("(generator)")); }
+ bool test(const QString &v, const QString &file, int line)
+ { m_current.clear(); return evaluateConditional(v, file, line); }
bool test(const ProKey &func, const QList<ProStringList> &args);
bool isSet(const ProKey &v) const { return m_valuemapStack.first().contains(v); }