summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/painting/qwmatrix/tst_qwmatrix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/gui/painting/qwmatrix/tst_qwmatrix.cpp')
-rw-r--r--tests/auto/gui/painting/qwmatrix/tst_qwmatrix.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/gui/painting/qwmatrix/tst_qwmatrix.cpp b/tests/auto/gui/painting/qwmatrix/tst_qwmatrix.cpp
index da88a868f3..281639c27a 100644
--- a/tests/auto/gui/painting/qwmatrix/tst_qwmatrix.cpp
+++ b/tests/auto/gui/painting/qwmatrix/tst_qwmatrix.cpp
@@ -32,6 +32,9 @@
#include <qmath.h>
#include <qpolygon.h>
+#if QT_DEPRECATED_SINCE(5, 15)
+QT_WARNING_PUSH
+QT_WARNING_DISABLE_DEPRECATED
class tst_QWMatrix : public QObject
{
@@ -324,5 +327,8 @@ void tst_QWMatrix::mapPolygon()
}
}
+QT_WARNING_POP
+#endif
+
QTEST_APPLESS_MAIN(tst_QWMatrix)
#include "tst_qwmatrix.moc"