summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/kernel/qapplication
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-09-22 10:16:58 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-09-23 16:59:06 +0200
commit403213240c7b2dc09378e1cb8c147131e368f90c (patch)
treeff86910332629fe5e2fab59a30fb863a5febb366 /tests/auto/widgets/kernel/qapplication
parente0c62a48b8a826a46a143e57e94b2a0ea73c7cae (diff)
CMake: Regenerate projects to use new qt_internal_ API
Modify special case locations to use the new API as well. Clean up some stale .prev files that are not needed anymore. Clean up some project files that are not used anymore. Task-number: QTBUG-86815 Change-Id: I9947da921f98686023c6bb053dfcc101851276b5 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'tests/auto/widgets/kernel/qapplication')
-rw-r--r--tests/auto/widgets/kernel/qapplication/desktopsettingsaware/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qapplication/desktopsettingsaware/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qapplication/modal/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qapplication/modal/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qapplication/test/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/widgets/kernel/qapplication/test/CMakeLists.txt4
6 files changed, 8 insertions, 8 deletions
diff --git a/tests/auto/widgets/kernel/qapplication/desktopsettingsaware/.prev_CMakeLists.txt b/tests/auto/widgets/kernel/qapplication/desktopsettingsaware/.prev_CMakeLists.txt
index 9692925831..8f04c7ff79 100644
--- a/tests/auto/widgets/kernel/qapplication/desktopsettingsaware/.prev_CMakeLists.txt
+++ b/tests/auto/widgets/kernel/qapplication/desktopsettingsaware/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## desktopsettingsaware Binary:
#####################################################################
-qt_add_executable(desktopsettingsaware
+qt_internal_add_executable(desktopsettingsaware
SOURCES
main.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/widgets/kernel/qapplication/desktopsettingsaware/CMakeLists.txt b/tests/auto/widgets/kernel/qapplication/desktopsettingsaware/CMakeLists.txt
index 110c53d32f..a391d5b13d 100644
--- a/tests/auto/widgets/kernel/qapplication/desktopsettingsaware/CMakeLists.txt
+++ b/tests/auto/widgets/kernel/qapplication/desktopsettingsaware/CMakeLists.txt
@@ -4,7 +4,7 @@
## desktopsettingsaware Binary:
#####################################################################
-qt_add_executable(desktopsettingsaware_helper # special case
+qt_internal_add_executable(desktopsettingsaware_helper # special case
SOURCES
main.cpp
OUTPUT_DIRECTORY # special case
diff --git a/tests/auto/widgets/kernel/qapplication/modal/.prev_CMakeLists.txt b/tests/auto/widgets/kernel/qapplication/modal/.prev_CMakeLists.txt
index fdd6547b41..24940d0589 100644
--- a/tests/auto/widgets/kernel/qapplication/modal/.prev_CMakeLists.txt
+++ b/tests/auto/widgets/kernel/qapplication/modal/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## modal Binary:
#####################################################################
-qt_add_executable(modal
+qt_internal_add_executable(modal
SOURCES
base.cpp base.h
main.cpp
diff --git a/tests/auto/widgets/kernel/qapplication/modal/CMakeLists.txt b/tests/auto/widgets/kernel/qapplication/modal/CMakeLists.txt
index da00368540..95c429f936 100644
--- a/tests/auto/widgets/kernel/qapplication/modal/CMakeLists.txt
+++ b/tests/auto/widgets/kernel/qapplication/modal/CMakeLists.txt
@@ -4,7 +4,7 @@
## modal Binary:
#####################################################################
-qt_add_executable(modal_helper # special case
+qt_internal_add_executable(modal_helper # special case
SOURCES
base.cpp base.h
main.cpp
diff --git a/tests/auto/widgets/kernel/qapplication/test/.prev_CMakeLists.txt b/tests/auto/widgets/kernel/qapplication/test/.prev_CMakeLists.txt
index 114b8a286b..334a25bbac 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")
-qt_add_test(test
+qt_internal_add_test(test
SOURCES
../tst_qapplication.cpp
PUBLIC_LIBRARIES
@@ -24,7 +24,7 @@ qt_add_test(test
## Scopes:
#####################################################################
-qt_extend_target(test CONDITION builtin_testdata
+qt_internal_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 f30b05d2d3..a93a677417 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")
-qt_add_test(tst_qapplication # special case
+qt_internal_add_test(tst_qapplication # special case
SOURCES
../tst_qapplication.cpp
PUBLIC_LIBRARIES
@@ -25,7 +25,7 @@ qt_add_test(tst_qapplication # special case
## Scopes:
#####################################################################
-qt_extend_target(tst_qapplication CONDITION builtin_testdata # special case
+qt_internal_extend_target(tst_qapplication CONDITION builtin_testdata # special case
DEFINES
BUILTIN_TESTDATA
)