summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2021-06-06 19:18:15 +0200
committerCraig Scott <craig.scott@qt.io>2021-06-07 18:34:43 +1000
commit790da1696930d30b6009b185dd2e247e22d4bf1b (patch)
treebe0e2338bd5d9602d5c42508c785a0ce320d3319 /tests/auto/quick
parentc2f087800d247d41fe4fa4f737b5322ae22c9e9d (diff)
Replace calls to obsolete cmake functions with modern alternative
Change-Id: I5674d887a73a6a693d1babc416470c9873491eb3 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/quick')
-rw-r--r--tests/auto/quick/certificateerror/CMakeLists.txt2
-rw-r--r--tests/auto/quick/dialogs/CMakeLists.txt2
-rw-r--r--tests/auto/quick/qtbug-70248/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/quick/certificateerror/CMakeLists.txt b/tests/auto/quick/certificateerror/CMakeLists.txt
index 4e19c0684..df40edd86 100644
--- a/tests/auto/quick/certificateerror/CMakeLists.txt
+++ b/tests/auto/quick/certificateerror/CMakeLists.txt
@@ -18,7 +18,7 @@ set(certificateerror_resource_files
"WebView.qml"
)
-qt_add_resource(tst_certificateerror_quick "certificateerror"
+qt_internal_add_resource(tst_certificateerror_quick "certificateerror"
PREFIX
"/"
FILES
diff --git a/tests/auto/quick/dialogs/CMakeLists.txt b/tests/auto/quick/dialogs/CMakeLists.txt
index b1fbfe3a3..b7f088f0d 100644
--- a/tests/auto/quick/dialogs/CMakeLists.txt
+++ b/tests/auto/quick/dialogs/CMakeLists.txt
@@ -17,7 +17,7 @@ set(dialogs_resource_files
"index.html"
)
-qt_add_resource(tst_dialogs "dialogs"
+qt_internal_add_resource(tst_dialogs "dialogs"
PREFIX
"/"
FILES
diff --git a/tests/auto/quick/qtbug-70248/CMakeLists.txt b/tests/auto/quick/qtbug-70248/CMakeLists.txt
index cc6f120b0..b1df50211 100644
--- a/tests/auto/quick/qtbug-70248/CMakeLists.txt
+++ b/tests/auto/quick/qtbug-70248/CMakeLists.txt
@@ -9,7 +9,7 @@ set(test_resource_files
"test.qml"
)
-qt_add_resource(tst_qtbug-70248 "test"
+qt_internal_add_resource(tst_qtbug-70248 "test"
PREFIX
"/"
FILES