diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2016-05-11 14:36:13 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@theqtcompany.com> | 2016-05-23 11:19:45 +0000 |
commit | aa2a3102676a5608d7ad22b868895ec93681a5d9 (patch) | |
tree | 7a1c08e758febf5ca2be851f3e20d598f8d35811 /src/corelib/global/qlibraryinfo.h | |
parent | 9fd407fc6a29c94b4568dd042a05c208255179e0 (diff) |
Deprecate QLibraryInfo::licensee()/licensedProducts()
This info wasn't really very helpful, and would anyway always
contain either Preview, OpenSource or an empty string for
commercial users.
Change-Id: I311b991834fa83cf1a183083acd5112cda3d2e41
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/corelib/global/qlibraryinfo.h')
-rw-r--r-- | src/corelib/global/qlibraryinfo.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/corelib/global/qlibraryinfo.h b/src/corelib/global/qlibraryinfo.h index a1c146923e..55be706382 100644 --- a/src/corelib/global/qlibraryinfo.h +++ b/src/corelib/global/qlibraryinfo.h @@ -51,8 +51,10 @@ class QStringList; class Q_CORE_EXPORT QLibraryInfo { public: - static QString licensee(); - static QString licensedProducts(); +#if QT_DEPRECATED_SINCE(5, 8) + static QT_DEPRECATED QString licensee(); + static QT_DEPRECATED QString licensedProducts(); +#endif #ifndef QT_NO_DATESTRING #if QT_DEPRECATED_SINCE(5, 5) |