summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/qmake/testdata/functions
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/qmake/testdata/functions')
-rw-r--r--tests/auto/tools/qmake/testdata/functions/functions.pro1
-rw-r--r--tests/auto/tools/qmake/testdata/functions/infiletest.pro1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/tools/qmake/testdata/functions/functions.pro b/tests/auto/tools/qmake/testdata/functions/functions.pro
index 98e12b7650..32a9b6a137 100644
--- a/tests/auto/tools/qmake/testdata/functions/functions.pro
+++ b/tests/auto/tools/qmake/testdata/functions/functions.pro
@@ -157,3 +157,4 @@ else: \
testReplace($$shell_quote($$in), $$out, "shell_quote")
testReplace($$reverse($$list(one two three)), three two one, "reverse")
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
diff --git a/tests/auto/tools/qmake/testdata/functions/infiletest.pro b/tests/auto/tools/qmake/testdata/functions/infiletest.pro
index b2492e19d9..7dca60191e 100644
--- a/tests/auto/tools/qmake/testdata/functions/infiletest.pro
+++ b/tests/auto/tools/qmake/testdata/functions/infiletest.pro
@@ -1,2 +1,3 @@
DEFINES = QT_DLL
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0