diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp index 08aff5fa2ac..1380b083723 100644 --- a/src/corelib/global/qlibraryinfo.cpp +++ b/src/corelib/global/qlibraryinfo.cpp @@ -247,47 +247,6 @@ QSettings *QLibraryInfoPrivate::findConfiguration() QLibraryInfo::QLibraryInfo() { } -/*! - \deprecated - This function used to return the person to whom this build of Qt is licensed, now returns an empty string. -*/ - -#if QT_DEPRECATED_SINCE(5, 8) -QString -QLibraryInfo::licensee() -{ - return QString(); -} -#endif - -/*! - \deprecated - This function used to return the products that the license for this build of Qt has access to, now returns an empty string. -*/ - -#if QT_DEPRECATED_SINCE(5, 8) -QString -QLibraryInfo::licensedProducts() -{ - return QString(); -} -#endif - -/*! - \since 4.6 - \deprecated - This function used to return the installation date for this build of Qt, but now returns a constant date. -*/ -#if QT_CONFIG(datestring) -#if QT_DEPRECATED_SINCE(5, 5) -QDate -QLibraryInfo::buildDate() -{ - return QDate::fromString(QString::fromLatin1("2012-12-20"), Qt::ISODate); -} -#endif -#endif // datestring - #if defined(Q_CC_INTEL) // must be before GNU, Clang and MSVC because ICC/ICL claim to be them # ifdef __INTEL_CLANG_COMPILER # define ICC_COMPAT "Clang" diff --git a/src/corelib/global/qlibraryinfo.h b/src/corelib/global/qlibraryinfo.h index 031dfe37e2d..4a14a9728af 100644 --- a/src/corelib/global/qlibraryinfo.h +++ b/src/corelib/global/qlibraryinfo.h @@ -51,17 +51,6 @@ class QStringList; class Q_CORE_EXPORT QLibraryInfo { public: -#if QT_DEPRECATED_SINCE(5, 8) - static QT_DEPRECATED QString licensee(); - static QT_DEPRECATED QString licensedProducts(); -#endif - -#if QT_CONFIG(datestring) -#if QT_DEPRECATED_SINCE(5, 5) - static QT_DEPRECATED QDate buildDate(); -#endif // QT_DEPRECATED_SINCE(5, 5) -#endif // datestring - static const char * build() noexcept; static bool isDebugBuild();