summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qlibraryinfo.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-11-06 09:28:16 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2009-11-06 12:17:00 (GMT)
commit4bbcfc85eb69f7a04b1ec4264ded855be0df46d7 (patch)
treeadca87fce882415406d526ef6a57736341274740 /src/corelib/global/qlibraryinfo.cpp
parent19d24c867bfb7b95562e8658b0c795dc0296ba80 (diff)
downloadQt-4bbcfc85eb69f7a04b1ec4264ded855be0df46d7.zip
Qt-4bbcfc85eb69f7a04b1ec4264ded855be0df46d7.tar.gz
Qt-4bbcfc85eb69f7a04b1ec4264ded855be0df46d7.tar.bz2
Fix QT_NO_DATESTRING
Reviewed-by: tom
Diffstat (limited to 'src/corelib/global/qlibraryinfo.cpp')
-rw-r--r--src/corelib/global/qlibraryinfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
index 15a06d7..15325ae 100644
--- a/src/corelib/global/qlibraryinfo.cpp
+++ b/src/corelib/global/qlibraryinfo.cpp
@@ -212,11 +212,13 @@ QLibraryInfo::buildKey()
Returns the installation date for this build of Qt. The install date will
usually be the last time that Qt sources were configured.
*/
+#ifndef QT_NO_DATESTRING
QDate
QLibraryInfo::buildDate()
{
return QDate::fromString(QString::fromLatin1(qt_configure_installation + 12), Qt::ISODate);
}
+#endif //QT_NO_DATESTRING
/*!
Returns the location specified by \a loc.