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.pro3
-rw-r--r--tests/auto/tools/qmake/testdata/functions/infiletest.pro2
-rw-r--r--tests/auto/tools/qmake/testdata/functions/textfile1
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/tools/qmake/testdata/functions/functions.pro b/tests/auto/tools/qmake/testdata/functions/functions.pro
index bf1344eb68..84f97c2022 100644
--- a/tests/auto/tools/qmake/testdata/functions/functions.pro
+++ b/tests/auto/tools/qmake/testdata/functions/functions.pro
@@ -171,4 +171,5 @@ else: \
testReplace($$shell_quote($$in), $$out, "shell_quote")
testReplace($$reverse($$list(one two three)), three two one, "reverse")
-DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
+
+testReplace($$cat(textfile), hi '"holla he"' 'hu!')
diff --git a/tests/auto/tools/qmake/testdata/functions/infiletest.pro b/tests/auto/tools/qmake/testdata/functions/infiletest.pro
index 7dca60191e..821cb5cb2c 100644
--- a/tests/auto/tools/qmake/testdata/functions/infiletest.pro
+++ b/tests/auto/tools/qmake/testdata/functions/infiletest.pro
@@ -1,3 +1 @@
DEFINES = QT_DLL
-
-DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
diff --git a/tests/auto/tools/qmake/testdata/functions/textfile b/tests/auto/tools/qmake/testdata/functions/textfile
new file mode 100644
index 0000000000..a8248ed6f8
--- /dev/null
+++ b/tests/auto/tools/qmake/testdata/functions/textfile
@@ -0,0 +1 @@
+hi "holla he" hu!