Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-15 10:24:31

0001 // Copyright (C) 2024 The Qt Company Ltd.
0002 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
0003 
0004 #ifndef QTDEPRECATIONDEFINITIONS_H
0005 #define QTDEPRECATIONDEFINITIONS_H
0006 
0007 #include <QtCore/qcompilerdetection.h>
0008 
0009 #ifndef QT_DISABLE_DEPRECATED_UP_TO
0010 #  ifdef QT_DISABLE_DEPRECATED_BEFORE // If the deprecated macro is defined, use its value
0011 #    define QT_DISABLE_DEPRECATED_UP_TO QT_DISABLE_DEPRECATED_BEFORE
0012 #  else
0013 #    define QT_DISABLE_DEPRECATED_UP_TO 0x050000
0014 #  endif
0015 #endif
0016 
0017 #if QT_DISABLE_DEPRECATED_UP_TO < 0x050000 && defined(Q_CC_GNU)
0018 #  warning QT_DISABLE_DEPRECATED_UP_TO is set to the version that is lower than the version that \
0019            Qt was built with. This may lead to linking issues.
0020 #endif
0021 
0022 #ifndef QT_WARN_DEPRECATED_UP_TO
0023 #  ifdef QT_DEPRECATED_WARNINGS_SINCE // If the deprecated macro is defined, use its value
0024 #    define QT_WARN_DEPRECATED_UP_TO QT_DEPRECATED_WARNINGS_SINCE
0025 #  else
0026 #    define QT_WARN_DEPRECATED_UP_TO 0x070000
0027 #  endif
0028 #endif
0029 
0030 #endif // QTDEPRECATIONDEFINITIONS_H