diff options
author | Sune Vuorela <sune@vuorela.dk> | 2015-02-05 07:37:13 +0100 |
---|---|---|
committer | Sune Vuorela <sune@vuorela.dk> | 2015-02-12 18:34:23 +0000 |
commit | db631a88a030d4d1263d7ae009086f3dd8637982 (patch) | |
tree | c4b75eee680dd806500ae464313b95d620b627c7 /tools | |
parent | c030540f37084effca4aa7e8d94ceeda95d60487 (diff) |
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) <ogoffart@woboq.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/configure/configureapp.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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 <qdatetime.h> #include <qdir.h> #include <qdiriterator.h> #include <qtemporaryfile.h> @@ -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 |