diff options
| author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2023-12-03 22:19:02 +0100 |
|---|---|---|
| committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2024-03-13 13:08:29 +0100 |
| commit | 3a6c8e02b6d1b0574da52b0087092d0c74aa92c1 (patch) | |
| tree | 78c006c0659e2b06bf0363a1a973661e4415613f /src/opengl/qopenglcompositor.cpp | |
| parent | 03baf08d2bb99bf234d5e051691a57937fa935d7 (diff) | |
Long live QT_ENABLE_STRICT_MODE_UP_TO
We already have fine-grained macros to individually disable APIs
that we consider "suboptimal" or "dangerous". This commit adds
a shortcut for the user to set all such macros in one go.
QT_ENABLE_STRICT_MODE_UP_TO is versioned, just like
QT_DISABLE_DEPRECATED_UP_TO; the idea is that users should set it
to the minimum Qt version they want to support.
Also, if QT_DISABLE_DEPRECATED_UP_TO is not set, then
QT_ENABLE_STRICT_MODE_UP_TO will set it as well, to the same value.
[ChangeLog][QtCore][QtGlobal] Added the QT_ENABLE_STRICT_MODE_UP_TO
macro.
Change-Id: I5466465986104e047a6a86369928be9294f24ab7
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/opengl/qopenglcompositor.cpp')
0 files changed, 0 insertions, 0 deletions
