diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-04-20 18:14:57 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-04-30 15:01:59 (GMT) |
commit | 6bc4e2c6b3890b7a7b5443d4594bfda99e244514 (patch) | |
tree | 296c595f8c3e158a7f20a52b0172234a46759b13 | |
parent | 987b5d06c5e1a30f250f52179de3a2c3dd969352 (diff) | |
download | Qt-6bc4e2c6b3890b7a7b5443d4594bfda99e244514.zip Qt-6bc4e2c6b3890b7a7b5443d4594bfda99e244514.tar.gz Qt-6bc4e2c6b3890b7a7b5443d4594bfda99e244514.tar.bz2 |
warn about usage of deprecated variables
Reviewed-by: joerg
-rw-r--r-- | qmake/project.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp index 15286ec..7e8952f 100644 --- a/qmake/project.cpp +++ b/qmake/project.cpp @@ -220,6 +220,11 @@ static QString varMap(const QString &x) ret = "QMAKE_FRAMEWORKPATH"; else if(ret == "QMAKE_FRAMEWORKDIR_FLAGS") ret = "QMAKE_FRAMEWORKPATH_FLAGS"; + else + return ret; + warn_msg(WarnDeprecated, "%s:%d: Variable %s is deprecated; use %s instead.", + parser.file.toLatin1().constData(), parser.line_no, + x.toLatin1().constData(), ret.toLatin1().constData()); return ret; } |