From db631a88a030d4d1263d7ae009086f3dd8637982 Mon Sep 17 00:00:00 2001 From: Sune Vuorela Date: Thu, 5 Feb 2015 07:37:13 +0100 Subject: Avoid hardcoding build date in qtcore and tools To ensure QtCore can be rebuilt and get the exact same results, it is undesirable to hardcode the build date into the library Also deprecate QLibrayInfo::buildDate since it is relies on the build date. QLibraryInfo::buildDate was originally meant for evaluation licenses and such, but isn't used for that any longer. Change-Id: I98e91ca3e55f877e6ac0e02de289dc29422fc9da Reviewed-by: Olivier Goffart (Woboq GmbH) Reviewed-by: Thiago Macieira Reviewed-by: Oswald Buddenhagen --- tools/configure/configureapp.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index 1f422d06a3..0c773ed6b1 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -38,7 +38,6 @@ # include "tools.h" #endif -#include #include #include #include @@ -4068,7 +4067,7 @@ void Configure::generateQConfigCpp() << "static const char qt_configure_licensed_products_str [512 + 12] = \"qt_lcnsprod=" << dictionary["EDITION"] << "\";" << endl << endl << "/* Build date */" << endl - << "static const char qt_configure_installation [11 + 12] = \"qt_instdate=" << QDate::currentDate().toString(Qt::ISODate) << "\";" << endl + << "static const char qt_configure_installation [11 + 12] = \"qt_instdate=2012-12-20\";" << endl << endl << "/* Installation Info */" << endl << "static const char qt_configure_prefix_path_str [512 + 12] = \"qt_prfxpath=" << dictionary["QT_INSTALL_PREFIX"] << "\";" << endl -- cgit v1.2.3