From 14dc8870900127eb64815fac138124545e901640 Mon Sep 17 00:00:00 2001 From: Sune Vuorela Date: Mon, 2 Feb 2015 22:30:17 +0100 Subject: [PATCH] Remove __DATE__ usage from qtbase This message is just informal, and not really relevant to the test case. qtbase can now be built with -Werror=date-time Change-Id: Ic14289f2f801d5a6e811869e60afb9691c7ca98b Reviewed-by: Friedemann Kleint Reviewed-by: Oswald Buddenhagen --- tests/auto/tools/uic/tst_uic.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/auto/tools/uic/tst_uic.cpp b/tests/auto/tools/uic/tst_uic.cpp index a5bffced6c..dacb5fcb61 100644 --- a/tests/auto/tools/uic/tst_uic.cpp +++ b/tests/auto/tools/uic/tst_uic.cpp @@ -95,8 +95,8 @@ void tst_uic::initTestCase() const QString out = QString::fromLocal8Bit(process.readAllStandardError()).remove(QLatin1Char('\r')); const QStringList outLines = out.split(QLatin1Char('\n')); // Print version - QString msg = QString::fromLatin1("uic test built %1 running in '%2' using: "). - arg(QString::fromLatin1(__DATE__), QDir::currentPath()); + QString msg = QString::fromLatin1("uic test running in '%1' using: "). + arg(QDir::currentPath()); if (!outLines.empty()) msg += outLines.front(); qDebug("%s", qPrintable(msg));