summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qlibraryinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/global/qlibraryinfo.h')
-rw-r--r--src/corelib/global/qlibraryinfo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/corelib/global/qlibraryinfo.h b/src/corelib/global/qlibraryinfo.h
index 632c2ed1ce..1ad7637fd8 100644
--- a/src/corelib/global/qlibraryinfo.h
+++ b/src/corelib/global/qlibraryinfo.h
@@ -48,7 +48,9 @@ public:
static QString licensedProducts();
#ifndef QT_NO_DATESTRING
- static QDate buildDate();
+#if QT_DEPRECATED_SINCE(5, 5)
+ static QT_DEPRECATED QDate buildDate();
+#endif // QT_DEPRECATED_SINCE(5, 5)
#endif //QT_NO_DATESTRING
static const char * build() Q_DECL_NOTHROW;