summaryrefslogtreecommitdiffstats
path: root/cmake/QtBuildInternals
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-04-16 10:33:56 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-04-23 08:52:01 +0200
commit83eca9a087e569bcdeaaeeddab84c9524952d23e (patch)
tree04afde74bef3b98526bc56c412dabdf2238fa44d /cmake/QtBuildInternals
parent00988adcf96ff6b3bab90ff798b060e27d865b45 (diff)
Mark obsolete QMessageBox members as deprecated
Those overloads have been documented as obsolete, but never been deprecated. Add the deprecation macros to trigger warnings as of Qt 6.2. The overloads taking a single StandardButton should not be deprecated until Qt 7, as otherwise porting from old to new API will require an unnecessary cast to StandardButtons for calls with only a single enum value. The unit test explicitly tests the deprecated members, so disable warnings there. Fixes: QTBUG-92483 Change-Id: I283ddce4681eafda2378607f999946e56bbb777e Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'cmake/QtBuildInternals')
0 files changed, 0 insertions, 0 deletions