Add the 6.2 deprecation macros
... which makes me wonder, why isn't this stuff bumped automatically when a minor version branch is created? Change-Id: Ia43f898163a4baa0896a09bd13d65cf534fe1df5 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
parent
f28088873e
commit
29c2a6059f
@ -374,6 +374,14 @@ typedef double qreal;
|
|||||||
# define QT_DEPRECATED_VERSION_6_1
|
# define QT_DEPRECATED_VERSION_6_1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if QT_DEPRECATED_WARNINGS_SINCE >= QT_VERSION_CHECK(6, 2, 0)
|
||||||
|
# define QT_DEPRECATED_VERSION_X_6_2(text) QT_DEPRECATED_X(text)
|
||||||
|
# define QT_DEPRECATED_VERSION_6_2 QT_DEPRECATED
|
||||||
|
#else
|
||||||
|
# define QT_DEPRECATED_VERSION_X_6_2(text)
|
||||||
|
# define QT_DEPRECATED_VERSION_6_2
|
||||||
|
#endif
|
||||||
|
|
||||||
#define QT_DEPRECATED_VERSION_X_5(minor, text) QT_DEPRECATED_VERSION_X_5_##minor(text)
|
#define QT_DEPRECATED_VERSION_X_5(minor, text) QT_DEPRECATED_VERSION_X_5_##minor(text)
|
||||||
#define QT_DEPRECATED_VERSION_X(major, minor, text) QT_DEPRECATED_VERSION_X_##major##_##minor(text)
|
#define QT_DEPRECATED_VERSION_X(major, minor, text) QT_DEPRECATED_VERSION_X_##major##_##minor(text)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user