From 5ef3c155db83ec6689e1cb8ec7a8e2a585903a6e Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 23 Apr 2012 14:47:34 +0200 Subject: set $$_DATE_ only on project startup this changes the semantics a bit - it will be the datetime of qmake startup rather than the time a particular file is processed. i'd argue that this is insignificant. Change-Id: I75918967bef25038ce54aa81ab03c027384c0268 Reviewed-by: Joerg Bornemann --- qmake/project.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'qmake/project.cpp') diff --git a/qmake/project.cpp b/qmake/project.cpp index 925cd613fd..00da74b003 100644 --- a/qmake/project.cpp +++ b/qmake/project.cpp @@ -1645,6 +1645,7 @@ QMakeProject::loadDefaults() vars["DIR_SEPARATOR"] << Option::dir_sep; vars["DIRLIST_SEPARATOR"] << Option::dirlist_sep; vars["QMAKE_QMAKE"] << Option::qmake_abslocation; + vars["_DATE_"] << QDateTime::currentDateTime().toString(); #if defined(Q_OS_WIN32) vars["QMAKE_HOST.os"] << QString::fromLatin1("Windows"); @@ -3767,9 +3768,6 @@ QStringList &QMakeProject::values(const QString &_var, QHash[%s]", qPrintable(var), qPrintable(place[var].join("::"))); return place[var]; -- cgit v1.2.3