Document QT_DEPRECATED_WARNINGS
Task-number: QTBUG-58468 Change-Id: I0f822c2dd14878d70b74ddd2db89b11ba54f687b Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
parent
2e6ec59d47
commit
8d11df83d4
@ -1938,6 +1938,19 @@ bool qSharedBuild() Q_DECL_NOTHROW
|
|||||||
disable functions deprecated in Qt 5.1 and earlier. In any release, set
|
disable functions deprecated in Qt 5.1 and earlier. In any release, set
|
||||||
QT_DISABLE_DEPRECATED_BEFORE=0x000000 to enable any functions, including the ones
|
QT_DISABLE_DEPRECATED_BEFORE=0x000000 to enable any functions, including the ones
|
||||||
deprecated in Qt 5.0
|
deprecated in Qt 5.0
|
||||||
|
|
||||||
|
\sa QT_DEPRECATED_WARNINGS
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\macro QT_DEPRECATED_WARNINGS
|
||||||
|
\relates <QtGlobal>
|
||||||
|
|
||||||
|
If this macro is defined, the compiler will generate warnings if API declared as
|
||||||
|
deprecated by Qt is used.
|
||||||
|
|
||||||
|
\sa QT_DISABLE_DEPRECATED_BEFORE
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(QT_BUILD_QMAKE)
|
#if defined(QT_BUILD_QMAKE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user