From 262a92244be71f622b5fa3e6e7c4fb60295efc0c Mon Sep 17 00:00:00 2001 From: Juha Vuolle Date: Tue, 22 Apr 2025 11:16:30 +0300 Subject: [PATCH] Fix tst_qimage compilation when deprecations are removed Put both declaration and definition of tst_qimage::mirrored() behind the same deprecation flags. Pick-to: 6.9 Task-number: QTBUG-136101 Change-Id: Ib54ee21f7944f1e2b7f9fe35aea9fd8d9e908f95 Reviewed-by: Allan Sandfeld Jensen --- tests/auto/gui/image/qimage/tst_qimage.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/auto/gui/image/qimage/tst_qimage.cpp b/tests/auto/gui/image/qimage/tst_qimage.cpp index 4858d520934..05e61b3e3b5 100644 --- a/tests/auto/gui/image/qimage/tst_qimage.cpp +++ b/tests/auto/gui/image/qimage/tst_qimage.cpp @@ -147,7 +147,9 @@ private slots: void rgbSwapped(); void mirrored_data(); +#if QT_DEPRECATED_SINCE(6, 13) void mirrored(); +#endif void flipped_data(); void flipped();