summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qlibraryinfo.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-09-25 14:49:50 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-10-29 13:13:55 (GMT)
commit4df10827546faafc3558bbe3c255e5cdab1984e5 (patch)
tree657cdb84797613a04ce87aa9f1e9a00d21bc22ec /src/corelib/global/qlibraryinfo.cpp
parent84c250448f8b1a3adee4dcaf2fc8edb282dda225 (diff)
downloadQt-4df10827546faafc3558bbe3c255e5cdab1984e5.zip
Qt-4df10827546faafc3558bbe3c255e5cdab1984e5.tar.gz
Qt-4df10827546faafc3558bbe3c255e5cdab1984e5.tar.bz2
Readd the Qt Evaluation timebomb, step 1.
This is the QtCore part of the timebomb. Reviewed-by: Daniel Molkentin
Diffstat (limited to 'src/corelib/global/qlibraryinfo.cpp')
-rw-r--r--src/corelib/global/qlibraryinfo.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
index e227403..17273e9 100644
--- a/src/corelib/global/qlibraryinfo.cpp
+++ b/src/corelib/global/qlibraryinfo.cpp
@@ -208,6 +208,17 @@ QLibraryInfo::buildKey()
}
/*!
+ \since 4.6
+ Returns the installation date for this build of Qt. The install date will
+ usually be the last time that Qt sources were configured.
+*/
+QDate
+QLibraryInfo::buildDate()
+{
+ return QDate::fromString(QString::fromLatin1(qt_configure_installation + 12), Qt::ISODate);
+}
+
+/*!
Returns the location specified by \a loc.
*/