summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-09-22 18:20:29 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-10-01 12:09:59 +0200
commit8651264e7f1d624271c84221d468597ac8f4edf8 (patch)
tree46f87e78fab476effbaf5292411741c511d46782 /tests
parentfdc100781bd7119b39acb5169be5a34886718449 (diff)
CMake: Regenerate projects to use new qt_internal_ API
Modify special case locations to use the new API as well. Task-number: QTBUG-86815 Change-Id: I2ba7753b64f3d88332e919dc90c98e252e20dd98 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/client/client/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/client/client/CMakeLists.txt2
-rw-r--r--tests/auto/client/datadevicev1/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/client/datadevicev1/CMakeLists.txt2
-rw-r--r--tests/auto/client/fullscreenshellv1/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/client/fullscreenshellv1/CMakeLists.txt2
-rw-r--r--tests/auto/client/inputcontext/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/client/inputcontext/CMakeLists.txt2
-rw-r--r--tests/auto/client/iviapplication/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/client/iviapplication/CMakeLists.txt2
-rw-r--r--tests/auto/client/nooutput/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/client/nooutput/CMakeLists.txt2
-rw-r--r--tests/auto/client/output/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/client/output/CMakeLists.txt2
-rw-r--r--tests/auto/client/primaryselectionv1/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/client/primaryselectionv1/CMakeLists.txt2
-rw-r--r--tests/auto/client/seatv4/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/client/seatv4/CMakeLists.txt4
-rw-r--r--tests/auto/client/seatv5/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/client/seatv5/CMakeLists.txt2
-rw-r--r--tests/auto/client/surface/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/client/surface/CMakeLists.txt2
-rw-r--r--tests/auto/client/tabletv2/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/client/tabletv2/CMakeLists.txt2
-rw-r--r--tests/auto/client/wl_connect/CMakeLists.txt2
-rw-r--r--tests/auto/client/xdgdecorationv1/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/client/xdgdecorationv1/CMakeLists.txt2
-rw-r--r--tests/auto/client/xdgoutput/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/client/xdgoutput/CMakeLists.txt2
-rw-r--r--tests/auto/client/xdgshell/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/client/xdgshell/CMakeLists.txt2
-rw-r--r--tests/auto/client/xdgshellv6/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/client/xdgshellv6/CMakeLists.txt2
-rw-r--r--tests/auto/compositor/compositor/CMakeLists.txt4
-rw-r--r--tests/manual/qmlclient/CMakeLists.txt4
-rw-r--r--tests/manual/scaling-compositor/CMakeLists.txt4
-rw-r--r--tests/manual/subsurface/CMakeLists.txt4
-rw-r--r--tests/manual/texture-sharing/cpp-client/CMakeLists.txt2
-rw-r--r--tests/manual/wip-cpp-compositor/CMakeLists.txt2
39 files changed, 45 insertions, 45 deletions
diff --git a/tests/auto/client/client/.prev_CMakeLists.txt b/tests/auto/client/client/.prev_CMakeLists.txt
index c52ab320b..ece394fcc 100644
--- a/tests/auto/client/client/.prev_CMakeLists.txt
+++ b/tests/auto/client/client/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_client Test:
#####################################################################
-qt_add_test(tst_client
+qt_internal_add_test(tst_client
SOURCES
../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
diff --git a/tests/auto/client/client/CMakeLists.txt b/tests/auto/client/client/CMakeLists.txt
index f7e317c77..919bf064d 100644
--- a/tests/auto/client/client/CMakeLists.txt
+++ b/tests/auto/client/client/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_client Test:
#####################################################################
-qt_add_test(tst_client
+qt_internal_add_test(tst_client
SOURCES
../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
diff --git a/tests/auto/client/datadevicev1/.prev_CMakeLists.txt b/tests/auto/client/datadevicev1/.prev_CMakeLists.txt
index e835f09d9..6a1060b38 100644
--- a/tests/auto/client/datadevicev1/.prev_CMakeLists.txt
+++ b/tests/auto/client/datadevicev1/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_datadevicev1 Test:
#####################################################################
-qt_add_test(tst_datadevicev1
+qt_internal_add_test(tst_datadevicev1
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/datadevicev1/CMakeLists.txt b/tests/auto/client/datadevicev1/CMakeLists.txt
index 06a56ccfd..b2da63977 100644
--- a/tests/auto/client/datadevicev1/CMakeLists.txt
+++ b/tests/auto/client/datadevicev1/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_datadevicev1 Test:
#####################################################################
-qt_add_test(tst_datadevicev1
+qt_internal_add_test(tst_datadevicev1
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/fullscreenshellv1/.prev_CMakeLists.txt b/tests/auto/client/fullscreenshellv1/.prev_CMakeLists.txt
index c9e5eae13..7cf9624c0 100644
--- a/tests/auto/client/fullscreenshellv1/.prev_CMakeLists.txt
+++ b/tests/auto/client/fullscreenshellv1/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_client_fullscreenshellv1 Test:
#####################################################################
-qt_add_test(tst_client_fullscreenshellv1
+qt_internal_add_test(tst_client_fullscreenshellv1
SOURCES
../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
diff --git a/tests/auto/client/fullscreenshellv1/CMakeLists.txt b/tests/auto/client/fullscreenshellv1/CMakeLists.txt
index 73d92ead8..7a5a72c24 100644
--- a/tests/auto/client/fullscreenshellv1/CMakeLists.txt
+++ b/tests/auto/client/fullscreenshellv1/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_client_fullscreenshellv1 Test:
#####################################################################
-qt_add_test(tst_client_fullscreenshellv1
+qt_internal_add_test(tst_client_fullscreenshellv1
SOURCES
../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
diff --git a/tests/auto/client/inputcontext/.prev_CMakeLists.txt b/tests/auto/client/inputcontext/.prev_CMakeLists.txt
index c32f2e930..2d2783926 100644
--- a/tests/auto/client/inputcontext/.prev_CMakeLists.txt
+++ b/tests/auto/client/inputcontext/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_inputcontext Test:
#####################################################################
-qt_add_test(tst_inputcontext
+qt_internal_add_test(tst_inputcontext
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/inputcontext/CMakeLists.txt b/tests/auto/client/inputcontext/CMakeLists.txt
index 5eb73b11c..1423c790c 100644
--- a/tests/auto/client/inputcontext/CMakeLists.txt
+++ b/tests/auto/client/inputcontext/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_inputcontext Test:
#####################################################################
-qt_add_test(tst_inputcontext
+qt_internal_add_test(tst_inputcontext
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/iviapplication/.prev_CMakeLists.txt b/tests/auto/client/iviapplication/.prev_CMakeLists.txt
index 0453aad81..2aaed6bab 100644
--- a/tests/auto/client/iviapplication/.prev_CMakeLists.txt
+++ b/tests/auto/client/iviapplication/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_client_iviapplication Test:
#####################################################################
-qt_add_test(tst_client_iviapplication
+qt_internal_add_test(tst_client_iviapplication
SOURCES
../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
diff --git a/tests/auto/client/iviapplication/CMakeLists.txt b/tests/auto/client/iviapplication/CMakeLists.txt
index 7e3bfd73a..cf6ebeab5 100644
--- a/tests/auto/client/iviapplication/CMakeLists.txt
+++ b/tests/auto/client/iviapplication/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_client_iviapplication Test:
#####################################################################
-qt_add_test(tst_client_iviapplication
+qt_internal_add_test(tst_client_iviapplication
SOURCES
../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
diff --git a/tests/auto/client/nooutput/.prev_CMakeLists.txt b/tests/auto/client/nooutput/.prev_CMakeLists.txt
index 61b43b0f6..18479bdfc 100644
--- a/tests/auto/client/nooutput/.prev_CMakeLists.txt
+++ b/tests/auto/client/nooutput/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_nooutput Test:
#####################################################################
-qt_add_test(tst_nooutput
+qt_internal_add_test(tst_nooutput
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/nooutput/CMakeLists.txt b/tests/auto/client/nooutput/CMakeLists.txt
index f7e9dfec1..b353d3246 100644
--- a/tests/auto/client/nooutput/CMakeLists.txt
+++ b/tests/auto/client/nooutput/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_nooutput Test:
#####################################################################
-qt_add_test(tst_nooutput
+qt_internal_add_test(tst_nooutput
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/output/.prev_CMakeLists.txt b/tests/auto/client/output/.prev_CMakeLists.txt
index 7e8e882c5..4103d7a8b 100644
--- a/tests/auto/client/output/.prev_CMakeLists.txt
+++ b/tests/auto/client/output/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_output Test:
#####################################################################
-qt_add_test(tst_output
+qt_internal_add_test(tst_output
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/output/CMakeLists.txt b/tests/auto/client/output/CMakeLists.txt
index e4267fadb..acb1d53eb 100644
--- a/tests/auto/client/output/CMakeLists.txt
+++ b/tests/auto/client/output/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_output Test:
#####################################################################
-qt_add_test(tst_output
+qt_internal_add_test(tst_output
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/primaryselectionv1/.prev_CMakeLists.txt b/tests/auto/client/primaryselectionv1/.prev_CMakeLists.txt
index 3d23b446a..9c207adc1 100644
--- a/tests/auto/client/primaryselectionv1/.prev_CMakeLists.txt
+++ b/tests/auto/client/primaryselectionv1/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_primaryselectionv1 Test:
#####################################################################
-qt_add_test(tst_primaryselectionv1
+qt_internal_add_test(tst_primaryselectionv1
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/primaryselectionv1/CMakeLists.txt b/tests/auto/client/primaryselectionv1/CMakeLists.txt
index a8f9ae131..f3e592cac 100644
--- a/tests/auto/client/primaryselectionv1/CMakeLists.txt
+++ b/tests/auto/client/primaryselectionv1/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_primaryselectionv1 Test:
#####################################################################
-qt_add_test(tst_primaryselectionv1
+qt_internal_add_test(tst_primaryselectionv1
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/seatv4/.prev_CMakeLists.txt b/tests/auto/client/seatv4/.prev_CMakeLists.txt
index d37de1da8..16eed042e 100644
--- a/tests/auto/client/seatv4/.prev_CMakeLists.txt
+++ b/tests/auto/client/seatv4/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_seatv4 Test:
#####################################################################
-qt_add_test(tst_seatv4
+qt_internal_add_test(tst_seatv4
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
@@ -34,7 +34,7 @@ qt6_generate_wayland_protocol_server_sources(tst_seatv4
## Scopes:
#####################################################################
-qt_extend_target(tst_seatv4 CONDITION QT_FEATURE_cursor
+qt_internal_extend_target(tst_seatv4 CONDITION QT_FEATURE_cursor
PUBLIC_LIBRARIES
Qt::GuiPrivate
Wayland::Cursor
diff --git a/tests/auto/client/seatv4/CMakeLists.txt b/tests/auto/client/seatv4/CMakeLists.txt
index 5496bd59f..f4eb28b84 100644
--- a/tests/auto/client/seatv4/CMakeLists.txt
+++ b/tests/auto/client/seatv4/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_seatv4 Test:
#####################################################################
-qt_add_test(tst_seatv4
+qt_internal_add_test(tst_seatv4
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
@@ -35,7 +35,7 @@ qt6_generate_wayland_protocol_server_sources(tst_seatv4
## Scopes:
#####################################################################
-qt_extend_target(tst_seatv4 CONDITION QT_FEATURE_cursor
+qt_internal_extend_target(tst_seatv4 CONDITION QT_FEATURE_cursor
PUBLIC_LIBRARIES
Qt::GuiPrivate
Wayland::Cursor
diff --git a/tests/auto/client/seatv5/.prev_CMakeLists.txt b/tests/auto/client/seatv5/.prev_CMakeLists.txt
index fa9e5a4eb..f30c0c766 100644
--- a/tests/auto/client/seatv5/.prev_CMakeLists.txt
+++ b/tests/auto/client/seatv5/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_seatv5 Test:
#####################################################################
-qt_add_test(tst_seatv5
+qt_internal_add_test(tst_seatv5
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/seatv5/CMakeLists.txt b/tests/auto/client/seatv5/CMakeLists.txt
index 67bfc6535..7545d769e 100644
--- a/tests/auto/client/seatv5/CMakeLists.txt
+++ b/tests/auto/client/seatv5/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_seatv5 Test:
#####################################################################
-qt_add_test(tst_seatv5
+qt_internal_add_test(tst_seatv5
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/surface/.prev_CMakeLists.txt b/tests/auto/client/surface/.prev_CMakeLists.txt
index a8eb58dac..ed900c8d1 100644
--- a/tests/auto/client/surface/.prev_CMakeLists.txt
+++ b/tests/auto/client/surface/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_surface Test:
#####################################################################
-qt_add_test(tst_surface
+qt_internal_add_test(tst_surface
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/surface/CMakeLists.txt b/tests/auto/client/surface/CMakeLists.txt
index a3962ddaf..0674f7de7 100644
--- a/tests/auto/client/surface/CMakeLists.txt
+++ b/tests/auto/client/surface/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_surface Test:
#####################################################################
-qt_add_test(tst_surface
+qt_internal_add_test(tst_surface
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/tabletv2/.prev_CMakeLists.txt b/tests/auto/client/tabletv2/.prev_CMakeLists.txt
index 5fecee50a..96b32d24b 100644
--- a/tests/auto/client/tabletv2/.prev_CMakeLists.txt
+++ b/tests/auto/client/tabletv2/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_tabletv2 Test:
#####################################################################
-qt_add_test(tst_tabletv2
+qt_internal_add_test(tst_tabletv2
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/tabletv2/CMakeLists.txt b/tests/auto/client/tabletv2/CMakeLists.txt
index d039e30dd..6d7507260 100644
--- a/tests/auto/client/tabletv2/CMakeLists.txt
+++ b/tests/auto/client/tabletv2/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_tabletv2 Test:
#####################################################################
-qt_add_test(tst_tabletv2
+qt_internal_add_test(tst_tabletv2
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/wl_connect/CMakeLists.txt b/tests/auto/client/wl_connect/CMakeLists.txt
index 5a01bedd0..0c7140ac6 100644
--- a/tests/auto/client/wl_connect/CMakeLists.txt
+++ b/tests/auto/client/wl_connect/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_wlconnect Test:
#####################################################################
-qt_add_test(tst_wlconnect
+qt_internal_add_test(tst_wlconnect
SOURCES
tst_wlconnect.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/client/xdgdecorationv1/.prev_CMakeLists.txt b/tests/auto/client/xdgdecorationv1/.prev_CMakeLists.txt
index 228ad83e0..31588782e 100644
--- a/tests/auto/client/xdgdecorationv1/.prev_CMakeLists.txt
+++ b/tests/auto/client/xdgdecorationv1/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_xdgdecorationv1 Test:
#####################################################################
-qt_add_test(tst_xdgdecorationv1
+qt_internal_add_test(tst_xdgdecorationv1
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/xdgdecorationv1/CMakeLists.txt b/tests/auto/client/xdgdecorationv1/CMakeLists.txt
index fb0fd06ad..8959be982 100644
--- a/tests/auto/client/xdgdecorationv1/CMakeLists.txt
+++ b/tests/auto/client/xdgdecorationv1/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_xdgdecorationv1 Test:
#####################################################################
-qt_add_test(tst_xdgdecorationv1
+qt_internal_add_test(tst_xdgdecorationv1
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/xdgoutput/.prev_CMakeLists.txt b/tests/auto/client/xdgoutput/.prev_CMakeLists.txt
index 3fc5aa772..33357ffdc 100644
--- a/tests/auto/client/xdgoutput/.prev_CMakeLists.txt
+++ b/tests/auto/client/xdgoutput/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_xdgoutput Test:
#####################################################################
-qt_add_test(tst_xdgoutput
+qt_internal_add_test(tst_xdgoutput
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/xdgoutput/CMakeLists.txt b/tests/auto/client/xdgoutput/CMakeLists.txt
index 341624e4a..37dee4e46 100644
--- a/tests/auto/client/xdgoutput/CMakeLists.txt
+++ b/tests/auto/client/xdgoutput/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_xdgoutput Test:
#####################################################################
-qt_add_test(tst_xdgoutput
+qt_internal_add_test(tst_xdgoutput
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/xdgshell/.prev_CMakeLists.txt b/tests/auto/client/xdgshell/.prev_CMakeLists.txt
index 4faa14f3d..a3872d726 100644
--- a/tests/auto/client/xdgshell/.prev_CMakeLists.txt
+++ b/tests/auto/client/xdgshell/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_xdgshell Test:
#####################################################################
-qt_add_test(tst_xdgshell
+qt_internal_add_test(tst_xdgshell
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/xdgshell/CMakeLists.txt b/tests/auto/client/xdgshell/CMakeLists.txt
index a680575ca..3b5cdfe83 100644
--- a/tests/auto/client/xdgshell/CMakeLists.txt
+++ b/tests/auto/client/xdgshell/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_xdgshell Test:
#####################################################################
-qt_add_test(tst_xdgshell
+qt_internal_add_test(tst_xdgshell
SOURCES
../shared/corecompositor.cpp ../shared/corecompositor.h
../shared/coreprotocol.cpp ../shared/coreprotocol.h
diff --git a/tests/auto/client/xdgshellv6/.prev_CMakeLists.txt b/tests/auto/client/xdgshellv6/.prev_CMakeLists.txt
index 8fb87235b..12f3ee190 100644
--- a/tests/auto/client/xdgshellv6/.prev_CMakeLists.txt
+++ b/tests/auto/client/xdgshellv6/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_client_xdgshellv6 Test:
#####################################################################
-qt_add_test(tst_client_xdgshellv6
+qt_internal_add_test(tst_client_xdgshellv6
SOURCES
../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
diff --git a/tests/auto/client/xdgshellv6/CMakeLists.txt b/tests/auto/client/xdgshellv6/CMakeLists.txt
index 03acb4815..cc8b154b4 100644
--- a/tests/auto/client/xdgshellv6/CMakeLists.txt
+++ b/tests/auto/client/xdgshellv6/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_client_xdgshellv6 Test:
#####################################################################
-qt_add_test(tst_client_xdgshellv6
+qt_internal_add_test(tst_client_xdgshellv6
SOURCES
../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
diff --git a/tests/auto/compositor/compositor/CMakeLists.txt b/tests/auto/compositor/compositor/CMakeLists.txt
index 7e27448f2..4dce9b0f9 100644
--- a/tests/auto/compositor/compositor/CMakeLists.txt
+++ b/tests/auto/compositor/compositor/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_compositor Test:
#####################################################################
-qt_add_test(tst_compositor
+qt_internal_add_test(tst_compositor
SOURCES
mockclient.cpp mockclient.h
mockkeyboard.cpp mockkeyboard.h
@@ -38,7 +38,7 @@ qt6_generate_wayland_protocol_client_sources(tst_compositor
## Scopes:
#####################################################################
-qt_extend_target(tst_compositor CONDITION QT_FEATURE_xkbcommon
+qt_internal_extend_target(tst_compositor CONDITION QT_FEATURE_xkbcommon
PUBLIC_LIBRARIES
XKB::XKB
)
diff --git a/tests/manual/qmlclient/CMakeLists.txt b/tests/manual/qmlclient/CMakeLists.txt
index 5443fcbc1..b91ee4a2c 100644
--- a/tests/manual/qmlclient/CMakeLists.txt
+++ b/tests/manual/qmlclient/CMakeLists.txt
@@ -4,7 +4,7 @@
## qmlclient Binary:
#####################################################################
-qt_add_manual_test(qmlclient
+qt_internal_add_manual_test(qmlclient
GUI
SOURCES
main.cpp
@@ -21,7 +21,7 @@ set(qml_resource_files
"main.qml"
)
-qt_add_resource(qmlclient "qml"
+qt_internal_add_resource(qmlclient "qml"
PREFIX
"/"
FILES
diff --git a/tests/manual/scaling-compositor/CMakeLists.txt b/tests/manual/scaling-compositor/CMakeLists.txt
index af6e5bd6d..c64b507fc 100644
--- a/tests/manual/scaling-compositor/CMakeLists.txt
+++ b/tests/manual/scaling-compositor/CMakeLists.txt
@@ -4,7 +4,7 @@
## scaling-compositor Binary:
#####################################################################
-qt_add_manual_test(scaling-compositor
+qt_internal_add_manual_test(scaling-compositor
GUI
SOURCES
main.cpp
@@ -18,7 +18,7 @@ set(qml_resource_files
"main.qml"
)
-qt_add_resource(scaling-compositor "qml"
+qt_internal_add_resource(scaling-compositor "qml"
PREFIX
"/"
FILES
diff --git a/tests/manual/subsurface/CMakeLists.txt b/tests/manual/subsurface/CMakeLists.txt
index fd450f203..9d8eda99d 100644
--- a/tests/manual/subsurface/CMakeLists.txt
+++ b/tests/manual/subsurface/CMakeLists.txt
@@ -4,7 +4,7 @@
## subsurface Binary:
#####################################################################
-qt_add_manual_test(subsurface
+qt_internal_add_manual_test(subsurface
GUI
SOURCES
main.cpp
@@ -23,7 +23,7 @@ set(qml_resource_files
"main.qml"
)
-qt_add_resource(subsurface "qml"
+qt_internal_add_resource(subsurface "qml"
PREFIX
"/"
FILES
diff --git a/tests/manual/texture-sharing/cpp-client/CMakeLists.txt b/tests/manual/texture-sharing/cpp-client/CMakeLists.txt
index 03819d3a3..f924dca97 100644
--- a/tests/manual/texture-sharing/cpp-client/CMakeLists.txt
+++ b/tests/manual/texture-sharing/cpp-client/CMakeLists.txt
@@ -4,7 +4,7 @@
## cpp-client Binary:
#####################################################################
-qt_add_manual_test(cpp-client
+qt_internal_add_manual_test(cpp-client
GUI
SOURCES
../../../../src/imports/texture-sharing/texturesharingextension.cpp ../../../../src/imports/texture-sharing/texturesharingextension.h
diff --git a/tests/manual/wip-cpp-compositor/CMakeLists.txt b/tests/manual/wip-cpp-compositor/CMakeLists.txt
index eaef05d7c..4bae44d2d 100644
--- a/tests/manual/wip-cpp-compositor/CMakeLists.txt
+++ b/tests/manual/wip-cpp-compositor/CMakeLists.txt
@@ -4,7 +4,7 @@
## wip-cpp-compositor Binary:
#####################################################################
-qt_add_manual_test(wip-cpp-compositor
+qt_internal_add_manual_test(wip-cpp-compositor
GUI
SOURCES
compositor.cpp compositor.h