summaryrefslogtreecommitdiffstats
path: root/tests/auto/xml/sax/qxmlsimplereader
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/xml/sax/qxmlsimplereader')
-rw-r--r--tests/auto/xml/sax/qxmlsimplereader/parser/parser.pro1
-rw-r--r--tests/auto/xml/sax/qxmlsimplereader/qxmlsimplereader.pro1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/xml/sax/qxmlsimplereader/parser/parser.pro b/tests/auto/xml/sax/qxmlsimplereader/parser/parser.pro
index f801200942..053f0d9285 100644
--- a/tests/auto/xml/sax/qxmlsimplereader/parser/parser.pro
+++ b/tests/auto/xml/sax/qxmlsimplereader/parser/parser.pro
@@ -2,3 +2,4 @@ QT += xml
HEADERS += parser.h
SOURCES += main.cpp parser.cpp
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
diff --git a/tests/auto/xml/sax/qxmlsimplereader/qxmlsimplereader.pro b/tests/auto/xml/sax/qxmlsimplereader/qxmlsimplereader.pro
index 20559cec64..371e12a0eb 100644
--- a/tests/auto/xml/sax/qxmlsimplereader/qxmlsimplereader.pro
+++ b/tests/auto/xml/sax/qxmlsimplereader/qxmlsimplereader.pro
@@ -11,3 +11,4 @@ QT += network xml testlib
QT -= gui
TESTDATA += encodings/* xmldocs/*
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0