summaryrefslogtreecommitdiffstats
path: root/tests/auto/xml/sax
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/xml/sax')
-rw-r--r--tests/auto/xml/sax/qxml/tst_qxml.cpp2
-rw-r--r--tests/auto/xml/sax/qxmlsimplereader/parser/parser.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/xml/sax/qxml/tst_qxml.cpp b/tests/auto/xml/sax/qxml/tst_qxml.cpp
index db6584edda..2f00a08fef 100644
--- a/tests/auto/xml/sax/qxml/tst_qxml.cpp
+++ b/tests/auto/xml/sax/qxml/tst_qxml.cpp
@@ -28,6 +28,8 @@
#include <QtTest/QtTest>
+QT_WARNING_DISABLE_DEPRECATED
+
#include <qcoreapplication.h>
#include <qdebug.h>
#include <qxml.h>
diff --git a/tests/auto/xml/sax/qxmlsimplereader/parser/parser.h b/tests/auto/xml/sax/qxmlsimplereader/parser/parser.h
index 9c51cdf095..eed4c7517e 100644
--- a/tests/auto/xml/sax/qxmlsimplereader/parser/parser.h
+++ b/tests/auto/xml/sax/qxmlsimplereader/parser/parser.h
@@ -30,6 +30,8 @@
#include <qglobal.h>
+QT_WARNING_DISABLE_DEPRECATED
+
#if QT_DEPRECATED_SINCE(5, 15)
#include <qfile.h>