summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/kernel/qapplication/test
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-07-07 18:01:06 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-07-09 09:38:35 +0200
commite9a328bc0e56b429a370b13c8e0b4790916cebde (patch)
tree059f3b089a8557cb4c45e3dc059b58e020e34dcb /tests/auto/widgets/kernel/qapplication/test
parent5417f1e40cb647c05bffad21493feacac45f193e (diff)
CMake: Regenerate tests with new qt_ prefixed APIs
Use pro2cmake with '--api-version 2' to force regenerate projects to use the new prefixed qt_foo APIs. Change-Id: I055c4837860319e93aaa6b09d646dda4fc2a4069 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/widgets/kernel/qapplication/test')
-rw-r--r--tests/auto/widgets/kernel/qapplication/test/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/widgets/kernel/qapplication/test/CMakeLists.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/widgets/kernel/qapplication/test/.prev_CMakeLists.txt b/tests/auto/widgets/kernel/qapplication/test/.prev_CMakeLists.txt
index 7f92e1cee8..114b8a286b 100644
--- a/tests/auto/widgets/kernel/qapplication/test/.prev_CMakeLists.txt
+++ b/tests/auto/widgets/kernel/qapplication/test/.prev_CMakeLists.txt
@@ -9,7 +9,7 @@ list(APPEND test_data "../test/test.pro")
list(APPEND test_data "../tmp/README")
list(APPEND test_data "../modal")
-add_qt_test(test
+qt_add_test(test
SOURCES
../tst_qapplication.cpp
PUBLIC_LIBRARIES
@@ -24,7 +24,7 @@ add_qt_test(test
## Scopes:
#####################################################################
-extend_target(test CONDITION builtin_testdata
+qt_extend_target(test CONDITION builtin_testdata
DEFINES
BUILTIN_TESTDATA
)
diff --git a/tests/auto/widgets/kernel/qapplication/test/CMakeLists.txt b/tests/auto/widgets/kernel/qapplication/test/CMakeLists.txt
index 304480f509..f30b05d2d3 100644
--- a/tests/auto/widgets/kernel/qapplication/test/CMakeLists.txt
+++ b/tests/auto/widgets/kernel/qapplication/test/CMakeLists.txt
@@ -9,7 +9,7 @@ list(APPEND test_data "../test/test.pro")
list(APPEND test_data "../tmp/README")
list(APPEND test_data "../modal")
-add_qt_test(tst_qapplication # special case
+qt_add_test(tst_qapplication # special case
SOURCES
../tst_qapplication.cpp
PUBLIC_LIBRARIES
@@ -25,7 +25,7 @@ add_qt_test(tst_qapplication # special case
## Scopes:
#####################################################################
-extend_target(tst_qapplication CONDITION builtin_testdata # special case
+qt_extend_target(tst_qapplication CONDITION builtin_testdata # special case
DEFINES
BUILTIN_TESTDATA
)