summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/.prev_CMakeLists.txt11
-rw-r--r--tests/auto/CMakeLists.txt11
-rw-r--r--tests/auto/client/CMakeLists.txt19
-rw-r--r--tests/auto/client/client/.prev_CMakeLists.txt40
-rw-r--r--tests/auto/client/client/CMakeLists.txt41
-rw-r--r--tests/auto/client/datadevicev1/.prev_CMakeLists.txt31
-rw-r--r--tests/auto/client/datadevicev1/CMakeLists.txt32
-rw-r--r--tests/auto/client/fullscreenshellv1/.prev_CMakeLists.txt37
-rw-r--r--tests/auto/client/fullscreenshellv1/CMakeLists.txt38
-rw-r--r--tests/auto/client/inputcontext/.prev_CMakeLists.txt31
-rw-r--r--tests/auto/client/inputcontext/CMakeLists.txt32
-rw-r--r--tests/auto/client/iviapplication/.prev_CMakeLists.txt37
-rw-r--r--tests/auto/client/iviapplication/CMakeLists.txt38
-rw-r--r--tests/auto/client/output/.prev_CMakeLists.txt31
-rw-r--r--tests/auto/client/output/CMakeLists.txt32
-rw-r--r--tests/auto/client/primaryselectionv1/.prev_CMakeLists.txt32
-rw-r--r--tests/auto/client/primaryselectionv1/CMakeLists.txt33
-rw-r--r--tests/auto/client/seatv4/.prev_CMakeLists.txt42
-rw-r--r--tests/auto/client/seatv4/CMakeLists.txt43
-rw-r--r--tests/auto/client/seatv5/.prev_CMakeLists.txt31
-rw-r--r--tests/auto/client/seatv5/CMakeLists.txt32
-rw-r--r--tests/auto/client/surface/.prev_CMakeLists.txt31
-rw-r--r--tests/auto/client/surface/CMakeLists.txt32
-rw-r--r--tests/auto/client/wl_connect/CMakeLists.txt14
-rw-r--r--tests/auto/client/xdgdecorationv1/.prev_CMakeLists.txt32
-rw-r--r--tests/auto/client/xdgdecorationv1/CMakeLists.txt33
-rw-r--r--tests/auto/client/xdgoutput/.prev_CMakeLists.txt32
-rw-r--r--tests/auto/client/xdgoutput/CMakeLists.txt33
-rw-r--r--tests/auto/client/xdgshell/.prev_CMakeLists.txt31
-rw-r--r--tests/auto/client/xdgshell/CMakeLists.txt32
-rw-r--r--tests/auto/client/xdgshellv6/.prev_CMakeLists.txt37
-rw-r--r--tests/auto/client/xdgshellv6/CMakeLists.txt38
-rw-r--r--tests/auto/compositor/CMakeLists.txt3
-rw-r--r--tests/auto/compositor/compositor/CMakeLists.txt45
34 files changed, 1067 insertions, 0 deletions
diff --git a/tests/auto/.prev_CMakeLists.txt b/tests/auto/.prev_CMakeLists.txt
new file mode 100644
index 000000000..15a50eb6d
--- /dev/null
+++ b/tests/auto/.prev_CMakeLists.txt
@@ -0,0 +1,11 @@
+# Generated from auto.pro.
+
+if(TARGET Qt::WaylandClient)
+ add_subdirectory(client)
+endif()
+if(TARGET Qt::WaylandClient AND TARGET Qt::WaylandCompositor)
+ add_subdirectory(cmake)
+endif()
+if(TARGET Qt::WaylandCompositor)
+ add_subdirectory(compositor)
+endif()
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt
new file mode 100644
index 000000000..763b7cd4d
--- /dev/null
+++ b/tests/auto/CMakeLists.txt
@@ -0,0 +1,11 @@
+# Generated from auto.pro.
+
+if(TARGET Qt::WaylandClient)
+ add_subdirectory(client)
+endif()
+if(TARGET Qt::WaylandClient AND TARGET Qt::WaylandCompositor)
+ #add_subdirectory(cmake) # special case
+endif()
+if(TARGET Qt::WaylandCompositor)
+ add_subdirectory(compositor)
+endif()
diff --git a/tests/auto/client/CMakeLists.txt b/tests/auto/client/CMakeLists.txt
new file mode 100644
index 000000000..bd18ec3e1
--- /dev/null
+++ b/tests/auto/client/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from client.pro.
+
+add_subdirectory(client)
+add_subdirectory(datadevicev1)
+add_subdirectory(fullscreenshellv1)
+add_subdirectory(iviapplication)
+add_subdirectory(output)
+add_subdirectory(primaryselectionv1)
+add_subdirectory(seatv4)
+add_subdirectory(seatv5)
+add_subdirectory(surface)
+add_subdirectory(wl_connect)
+add_subdirectory(xdgdecorationv1)
+add_subdirectory(xdgoutput)
+add_subdirectory(xdgshell)
+add_subdirectory(xdgshellv6)
+if(QT_FEATURE_im)
+ add_subdirectory(inputcontext)
+endif()
diff --git a/tests/auto/client/client/.prev_CMakeLists.txt b/tests/auto/client/client/.prev_CMakeLists.txt
new file mode 100644
index 000000000..6fe4bb92d
--- /dev/null
+++ b/tests/auto/client/client/.prev_CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from client.pro.
+
+#####################################################################
+## tst_client Test:
+#####################################################################
+
+qt_add_test(tst_client
+ SOURCES
+ ../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
+ ../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
+ ../shared_old/mockinput.cpp ../shared_old/mockinput.h
+ ../shared_old/mockiviapplication.cpp ../shared_old/mockiviapplication.h
+ ../shared_old/mockoutput.cpp ../shared_old/mockoutput.h
+ ../shared_old/mocksurface.cpp ../shared_old/mocksurface.h
+ ../shared_old/mockwlshell.cpp ../shared_old/mockwlshell.h
+ ../shared_old/mockxdgshellv6.cpp ../shared_old/mockxdgshellv6.h
+ tst_client.cpp
+ INCLUDE_DIRECTORIES
+ ../shared_old
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Client
+ Wayland::Server
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_client
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/fullscreen-shell-unstable-v1.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/ivi-application.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-shell-unstable-v6.xml
+)
+
+#### Keys ignored in scope 1:.:.:client.pro:<TRUE>:
+# check.commands = "$(TESTRUNNER)" "$${PWD}/run-with-all-shells.sh" "$(TESTARGS)"
diff --git a/tests/auto/client/client/CMakeLists.txt b/tests/auto/client/client/CMakeLists.txt
new file mode 100644
index 000000000..a20ea811c
--- /dev/null
+++ b/tests/auto/client/client/CMakeLists.txt
@@ -0,0 +1,41 @@
+# Generated from client.pro.
+
+#####################################################################
+## tst_client Test:
+#####################################################################
+
+qt_add_test(tst_client
+ SOURCES
+ ../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
+ ../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
+ ../shared_old/mockinput.cpp ../shared_old/mockinput.h
+ ../shared_old/mockiviapplication.cpp ../shared_old/mockiviapplication.h
+ ../shared_old/mockoutput.cpp ../shared_old/mockoutput.h
+ ../shared_old/mocksurface.cpp ../shared_old/mocksurface.h
+ ../shared_old/mockwlshell.cpp ../shared_old/mockwlshell.h
+ ../shared_old/mockxdgshellv6.cpp ../shared_old/mockxdgshellv6.h
+ tst_client.cpp
+ INCLUDE_DIRECTORIES
+ ../shared_old
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Client
+ Wayland::Server
+ Threads::Threads # special case
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_client
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/fullscreen-shell-unstable-v1.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/ivi-application.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-shell-unstable-v6.xml
+)
+
+#### Keys ignored in scope 1:.:.:client.pro:<TRUE>:
+# check.commands = "$(TESTRUNNER)" "$${PWD}/run-with-all-shells.sh" "$(TESTARGS)"
diff --git a/tests/auto/client/datadevicev1/.prev_CMakeLists.txt b/tests/auto/client/datadevicev1/.prev_CMakeLists.txt
new file mode 100644
index 000000000..bfea14349
--- /dev/null
+++ b/tests/auto/client/datadevicev1/.prev_CMakeLists.txt
@@ -0,0 +1,31 @@
+# Generated from datadevicev1.pro.
+
+#####################################################################
+## tst_datadevicev1 Test:
+#####################################################################
+
+qt_add_test(tst_datadevicev1
+ SOURCES
+ ../shared/corecompositor.cpp ../shared/corecompositor.h
+ ../shared/coreprotocol.cpp ../shared/coreprotocol.h
+ ../shared/datadevice.cpp ../shared/datadevice.h
+ ../shared/mockcompositor.cpp ../shared/mockcompositor.h
+ ../shared/textinput.cpp ../shared/textinput.h
+ ../shared/xdgshell.cpp ../shared/xdgshell.h
+ tst_datadevicev1.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Server
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_datadevicev1
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
diff --git a/tests/auto/client/datadevicev1/CMakeLists.txt b/tests/auto/client/datadevicev1/CMakeLists.txt
new file mode 100644
index 000000000..ad58772d4
--- /dev/null
+++ b/tests/auto/client/datadevicev1/CMakeLists.txt
@@ -0,0 +1,32 @@
+# Generated from datadevicev1.pro.
+
+#####################################################################
+## tst_datadevicev1 Test:
+#####################################################################
+
+qt_add_test(tst_datadevicev1
+ SOURCES
+ ../shared/corecompositor.cpp ../shared/corecompositor.h
+ ../shared/coreprotocol.cpp ../shared/coreprotocol.h
+ ../shared/datadevice.cpp ../shared/datadevice.h
+ ../shared/mockcompositor.cpp ../shared/mockcompositor.h
+ ../shared/textinput.cpp ../shared/textinput.h
+ ../shared/xdgshell.cpp ../shared/xdgshell.h
+ tst_datadevicev1.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Server
+ Threads::Threads # special case
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_datadevicev1
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
diff --git a/tests/auto/client/fullscreenshellv1/.prev_CMakeLists.txt b/tests/auto/client/fullscreenshellv1/.prev_CMakeLists.txt
new file mode 100644
index 000000000..5daef3bb3
--- /dev/null
+++ b/tests/auto/client/fullscreenshellv1/.prev_CMakeLists.txt
@@ -0,0 +1,37 @@
+# Generated from fullscreenshellv1.pro.
+
+#####################################################################
+## tst_client_fullscreenshellv1 Test:
+#####################################################################
+
+qt_add_test(tst_client_fullscreenshellv1
+ SOURCES
+ ../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
+ ../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
+ ../shared_old/mockinput.cpp ../shared_old/mockinput.h
+ ../shared_old/mockiviapplication.cpp ../shared_old/mockiviapplication.h
+ ../shared_old/mockoutput.cpp ../shared_old/mockoutput.h
+ ../shared_old/mocksurface.cpp ../shared_old/mocksurface.h
+ ../shared_old/mockwlshell.cpp ../shared_old/mockwlshell.h
+ ../shared_old/mockxdgshellv6.cpp ../shared_old/mockxdgshellv6.h
+ tst_fullscreenshellv1.cpp
+ INCLUDE_DIRECTORIES
+ ../shared_old
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Client
+ Wayland::Server
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_client_fullscreenshellv1
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/fullscreen-shell-unstable-v1.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/ivi-application.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-shell-unstable-v6.xml
+)
diff --git a/tests/auto/client/fullscreenshellv1/CMakeLists.txt b/tests/auto/client/fullscreenshellv1/CMakeLists.txt
new file mode 100644
index 000000000..00348df99
--- /dev/null
+++ b/tests/auto/client/fullscreenshellv1/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from fullscreenshellv1.pro.
+
+#####################################################################
+## tst_client_fullscreenshellv1 Test:
+#####################################################################
+
+qt_add_test(tst_client_fullscreenshellv1
+ SOURCES
+ ../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
+ ../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
+ ../shared_old/mockinput.cpp ../shared_old/mockinput.h
+ ../shared_old/mockiviapplication.cpp ../shared_old/mockiviapplication.h
+ ../shared_old/mockoutput.cpp ../shared_old/mockoutput.h
+ ../shared_old/mocksurface.cpp ../shared_old/mocksurface.h
+ ../shared_old/mockwlshell.cpp ../shared_old/mockwlshell.h
+ ../shared_old/mockxdgshellv6.cpp ../shared_old/mockxdgshellv6.h
+ tst_fullscreenshellv1.cpp
+ INCLUDE_DIRECTORIES
+ ../shared_old
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Client
+ Wayland::Server
+ Threads::Threads # special case
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_client_fullscreenshellv1
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/fullscreen-shell-unstable-v1.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/ivi-application.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-shell-unstable-v6.xml
+)
diff --git a/tests/auto/client/inputcontext/.prev_CMakeLists.txt b/tests/auto/client/inputcontext/.prev_CMakeLists.txt
new file mode 100644
index 000000000..d5df86a13
--- /dev/null
+++ b/tests/auto/client/inputcontext/.prev_CMakeLists.txt
@@ -0,0 +1,31 @@
+# Generated from inputcontext.pro.
+
+#####################################################################
+## tst_inputcontext Test:
+#####################################################################
+
+qt_add_test(tst_inputcontext
+ SOURCES
+ ../shared/corecompositor.cpp ../shared/corecompositor.h
+ ../shared/coreprotocol.cpp ../shared/coreprotocol.h
+ ../shared/datadevice.cpp ../shared/datadevice.h
+ ../shared/mockcompositor.cpp ../shared/mockcompositor.h
+ ../shared/textinput.cpp ../shared/textinput.h
+ ../shared/xdgshell.cpp ../shared/xdgshell.h
+ tst_inputcontext.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Server
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_inputcontext
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
diff --git a/tests/auto/client/inputcontext/CMakeLists.txt b/tests/auto/client/inputcontext/CMakeLists.txt
new file mode 100644
index 000000000..dfa788b31
--- /dev/null
+++ b/tests/auto/client/inputcontext/CMakeLists.txt
@@ -0,0 +1,32 @@
+# Generated from inputcontext.pro.
+
+#####################################################################
+## tst_inputcontext Test:
+#####################################################################
+
+qt_add_test(tst_inputcontext
+ SOURCES
+ ../shared/corecompositor.cpp ../shared/corecompositor.h
+ ../shared/coreprotocol.cpp ../shared/coreprotocol.h
+ ../shared/datadevice.cpp ../shared/datadevice.h
+ ../shared/mockcompositor.cpp ../shared/mockcompositor.h
+ ../shared/textinput.cpp ../shared/textinput.h
+ ../shared/xdgshell.cpp ../shared/xdgshell.h
+ tst_inputcontext.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Server
+ Threads::Threads # special case
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_inputcontext
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
diff --git a/tests/auto/client/iviapplication/.prev_CMakeLists.txt b/tests/auto/client/iviapplication/.prev_CMakeLists.txt
new file mode 100644
index 000000000..4193ba9b0
--- /dev/null
+++ b/tests/auto/client/iviapplication/.prev_CMakeLists.txt
@@ -0,0 +1,37 @@
+# Generated from iviapplication.pro.
+
+#####################################################################
+## tst_client_iviapplication Test:
+#####################################################################
+
+qt_add_test(tst_client_iviapplication
+ SOURCES
+ ../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
+ ../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
+ ../shared_old/mockinput.cpp ../shared_old/mockinput.h
+ ../shared_old/mockiviapplication.cpp ../shared_old/mockiviapplication.h
+ ../shared_old/mockoutput.cpp ../shared_old/mockoutput.h
+ ../shared_old/mocksurface.cpp ../shared_old/mocksurface.h
+ ../shared_old/mockwlshell.cpp ../shared_old/mockwlshell.h
+ ../shared_old/mockxdgshellv6.cpp ../shared_old/mockxdgshellv6.h
+ tst_iviapplication.cpp
+ INCLUDE_DIRECTORIES
+ ../shared_old
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Client
+ Wayland::Server
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_client_iviapplication
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/fullscreen-shell-unstable-v1.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/ivi-application.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-shell-unstable-v6.xml
+)
diff --git a/tests/auto/client/iviapplication/CMakeLists.txt b/tests/auto/client/iviapplication/CMakeLists.txt
new file mode 100644
index 000000000..38111c95e
--- /dev/null
+++ b/tests/auto/client/iviapplication/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from iviapplication.pro.
+
+#####################################################################
+## tst_client_iviapplication Test:
+#####################################################################
+
+qt_add_test(tst_client_iviapplication
+ SOURCES
+ ../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
+ ../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
+ ../shared_old/mockinput.cpp ../shared_old/mockinput.h
+ ../shared_old/mockiviapplication.cpp ../shared_old/mockiviapplication.h
+ ../shared_old/mockoutput.cpp ../shared_old/mockoutput.h
+ ../shared_old/mocksurface.cpp ../shared_old/mocksurface.h
+ ../shared_old/mockwlshell.cpp ../shared_old/mockwlshell.h
+ ../shared_old/mockxdgshellv6.cpp ../shared_old/mockxdgshellv6.h
+ tst_iviapplication.cpp
+ INCLUDE_DIRECTORIES
+ ../shared_old
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Client
+ Wayland::Server
+ Threads::Threads # special case
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_client_iviapplication
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/fullscreen-shell-unstable-v1.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/ivi-application.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-shell-unstable-v6.xml
+)
diff --git a/tests/auto/client/output/.prev_CMakeLists.txt b/tests/auto/client/output/.prev_CMakeLists.txt
new file mode 100644
index 000000000..8595888e9
--- /dev/null
+++ b/tests/auto/client/output/.prev_CMakeLists.txt
@@ -0,0 +1,31 @@
+# Generated from output.pro.
+
+#####################################################################
+## tst_output Test:
+#####################################################################
+
+qt_add_test(tst_output
+ SOURCES
+ ../shared/corecompositor.cpp ../shared/corecompositor.h
+ ../shared/coreprotocol.cpp ../shared/coreprotocol.h
+ ../shared/datadevice.cpp ../shared/datadevice.h
+ ../shared/mockcompositor.cpp ../shared/mockcompositor.h
+ ../shared/textinput.cpp ../shared/textinput.h
+ ../shared/xdgshell.cpp ../shared/xdgshell.h
+ tst_output.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Server
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_output
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
diff --git a/tests/auto/client/output/CMakeLists.txt b/tests/auto/client/output/CMakeLists.txt
new file mode 100644
index 000000000..c453ac424
--- /dev/null
+++ b/tests/auto/client/output/CMakeLists.txt
@@ -0,0 +1,32 @@
+# Generated from output.pro.
+
+#####################################################################
+## tst_output Test:
+#####################################################################
+
+qt_add_test(tst_output
+ SOURCES
+ ../shared/corecompositor.cpp ../shared/corecompositor.h
+ ../shared/coreprotocol.cpp ../shared/coreprotocol.h
+ ../shared/datadevice.cpp ../shared/datadevice.h
+ ../shared/mockcompositor.cpp ../shared/mockcompositor.h
+ ../shared/textinput.cpp ../shared/textinput.h
+ ../shared/xdgshell.cpp ../shared/xdgshell.h
+ tst_output.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Server
+ Threads::Threads # special case
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_output
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
diff --git a/tests/auto/client/primaryselectionv1/.prev_CMakeLists.txt b/tests/auto/client/primaryselectionv1/.prev_CMakeLists.txt
new file mode 100644
index 000000000..77a994dd4
--- /dev/null
+++ b/tests/auto/client/primaryselectionv1/.prev_CMakeLists.txt
@@ -0,0 +1,32 @@
+# Generated from primaryselectionv1.pro.
+
+#####################################################################
+## tst_primaryselectionv1 Test:
+#####################################################################
+
+qt_add_test(tst_primaryselectionv1
+ SOURCES
+ ../shared/corecompositor.cpp ../shared/corecompositor.h
+ ../shared/coreprotocol.cpp ../shared/coreprotocol.h
+ ../shared/datadevice.cpp ../shared/datadevice.h
+ ../shared/mockcompositor.cpp ../shared/mockcompositor.h
+ ../shared/textinput.cpp ../shared/textinput.h
+ ../shared/xdgshell.cpp ../shared/xdgshell.h
+ tst_primaryselectionv1.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Server
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_primaryselectionv1
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/wp-primary-selection-unstable-v1.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
diff --git a/tests/auto/client/primaryselectionv1/CMakeLists.txt b/tests/auto/client/primaryselectionv1/CMakeLists.txt
new file mode 100644
index 000000000..af9122343
--- /dev/null
+++ b/tests/auto/client/primaryselectionv1/CMakeLists.txt
@@ -0,0 +1,33 @@
+# Generated from primaryselectionv1.pro.
+
+#####################################################################
+## tst_primaryselectionv1 Test:
+#####################################################################
+
+qt_add_test(tst_primaryselectionv1
+ SOURCES
+ ../shared/corecompositor.cpp ../shared/corecompositor.h
+ ../shared/coreprotocol.cpp ../shared/coreprotocol.h
+ ../shared/datadevice.cpp ../shared/datadevice.h
+ ../shared/mockcompositor.cpp ../shared/mockcompositor.h
+ ../shared/textinput.cpp ../shared/textinput.h
+ ../shared/xdgshell.cpp ../shared/xdgshell.h
+ tst_primaryselectionv1.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Server
+ Threads::Threads # special case
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_primaryselectionv1
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/wp-primary-selection-unstable-v1.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
diff --git a/tests/auto/client/seatv4/.prev_CMakeLists.txt b/tests/auto/client/seatv4/.prev_CMakeLists.txt
new file mode 100644
index 000000000..ab7eb380f
--- /dev/null
+++ b/tests/auto/client/seatv4/.prev_CMakeLists.txt
@@ -0,0 +1,42 @@
+# Generated from seatv4.pro.
+
+#####################################################################
+## tst_seatv4 Test:
+#####################################################################
+
+qt_add_test(tst_seatv4
+ SOURCES
+ ../shared/corecompositor.cpp ../shared/corecompositor.h
+ ../shared/coreprotocol.cpp ../shared/coreprotocol.h
+ ../shared/datadevice.cpp ../shared/datadevice.h
+ ../shared/mockcompositor.cpp ../shared/mockcompositor.h
+ ../shared/textinput.cpp ../shared/textinput.h
+ ../shared/xdgshell.cpp ../shared/xdgshell.h
+ tst_seatv4.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Server
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_seatv4
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_seatv4 CONDITION QT_FEATURE_cursor
+ LIBRARIES
+ Qt::GuiPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Wayland::Cursor
+)
diff --git a/tests/auto/client/seatv4/CMakeLists.txt b/tests/auto/client/seatv4/CMakeLists.txt
new file mode 100644
index 000000000..bd14a6a8b
--- /dev/null
+++ b/tests/auto/client/seatv4/CMakeLists.txt
@@ -0,0 +1,43 @@
+# Generated from seatv4.pro.
+
+#####################################################################
+## tst_seatv4 Test:
+#####################################################################
+
+qt_add_test(tst_seatv4
+ SOURCES
+ ../shared/corecompositor.cpp ../shared/corecompositor.h
+ ../shared/coreprotocol.cpp ../shared/coreprotocol.h
+ ../shared/datadevice.cpp ../shared/datadevice.h
+ ../shared/mockcompositor.cpp ../shared/mockcompositor.h
+ ../shared/textinput.cpp ../shared/textinput.h
+ ../shared/xdgshell.cpp ../shared/xdgshell.h
+ tst_seatv4.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Server
+ Threads::Threads # special case
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_seatv4
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_seatv4 CONDITION QT_FEATURE_cursor
+ LIBRARIES
+ Qt::GuiPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Wayland::Cursor
+)
diff --git a/tests/auto/client/seatv5/.prev_CMakeLists.txt b/tests/auto/client/seatv5/.prev_CMakeLists.txt
new file mode 100644
index 000000000..778c42c0b
--- /dev/null
+++ b/tests/auto/client/seatv5/.prev_CMakeLists.txt
@@ -0,0 +1,31 @@
+# Generated from seatv5.pro.
+
+#####################################################################
+## tst_seatv5 Test:
+#####################################################################
+
+qt_add_test(tst_seatv5
+ SOURCES
+ ../shared/corecompositor.cpp ../shared/corecompositor.h
+ ../shared/coreprotocol.cpp ../shared/coreprotocol.h
+ ../shared/datadevice.cpp ../shared/datadevice.h
+ ../shared/mockcompositor.cpp ../shared/mockcompositor.h
+ ../shared/textinput.cpp ../shared/textinput.h
+ ../shared/xdgshell.cpp ../shared/xdgshell.h
+ tst_seatv5.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Server
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_seatv5
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
diff --git a/tests/auto/client/seatv5/CMakeLists.txt b/tests/auto/client/seatv5/CMakeLists.txt
new file mode 100644
index 000000000..38c5d980f
--- /dev/null
+++ b/tests/auto/client/seatv5/CMakeLists.txt
@@ -0,0 +1,32 @@
+# Generated from seatv5.pro.
+
+#####################################################################
+## tst_seatv5 Test:
+#####################################################################
+
+qt_add_test(tst_seatv5
+ SOURCES
+ ../shared/corecompositor.cpp ../shared/corecompositor.h
+ ../shared/coreprotocol.cpp ../shared/coreprotocol.h
+ ../shared/datadevice.cpp ../shared/datadevice.h
+ ../shared/mockcompositor.cpp ../shared/mockcompositor.h
+ ../shared/textinput.cpp ../shared/textinput.h
+ ../shared/xdgshell.cpp ../shared/xdgshell.h
+ tst_seatv5.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Server
+ Threads::Threads # special case
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_seatv5
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
diff --git a/tests/auto/client/surface/.prev_CMakeLists.txt b/tests/auto/client/surface/.prev_CMakeLists.txt
new file mode 100644
index 000000000..bb7289286
--- /dev/null
+++ b/tests/auto/client/surface/.prev_CMakeLists.txt
@@ -0,0 +1,31 @@
+# Generated from surface.pro.
+
+#####################################################################
+## tst_surface Test:
+#####################################################################
+
+qt_add_test(tst_surface
+ SOURCES
+ ../shared/corecompositor.cpp ../shared/corecompositor.h
+ ../shared/coreprotocol.cpp ../shared/coreprotocol.h
+ ../shared/datadevice.cpp ../shared/datadevice.h
+ ../shared/mockcompositor.cpp ../shared/mockcompositor.h
+ ../shared/textinput.cpp ../shared/textinput.h
+ ../shared/xdgshell.cpp ../shared/xdgshell.h
+ tst_surface.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Server
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_surface
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
diff --git a/tests/auto/client/surface/CMakeLists.txt b/tests/auto/client/surface/CMakeLists.txt
new file mode 100644
index 000000000..1470f414e
--- /dev/null
+++ b/tests/auto/client/surface/CMakeLists.txt
@@ -0,0 +1,32 @@
+# Generated from surface.pro.
+
+#####################################################################
+## tst_surface Test:
+#####################################################################
+
+qt_add_test(tst_surface
+ SOURCES
+ ../shared/corecompositor.cpp ../shared/corecompositor.h
+ ../shared/coreprotocol.cpp ../shared/coreprotocol.h
+ ../shared/datadevice.cpp ../shared/datadevice.h
+ ../shared/mockcompositor.cpp ../shared/mockcompositor.h
+ ../shared/textinput.cpp ../shared/textinput.h
+ ../shared/xdgshell.cpp ../shared/xdgshell.h
+ tst_surface.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Server
+ Threads::Threads # special case
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_surface
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
diff --git a/tests/auto/client/wl_connect/CMakeLists.txt b/tests/auto/client/wl_connect/CMakeLists.txt
new file mode 100644
index 000000000..5ad3ac6a4
--- /dev/null
+++ b/tests/auto/client/wl_connect/CMakeLists.txt
@@ -0,0 +1,14 @@
+# Generated from wl_connect.pro.
+
+#####################################################################
+## tst_wlconnect Test:
+#####################################################################
+
+qt_add_test(tst_wlconnect
+ SOURCES
+ tst_wlconnect.cpp
+ LIBRARIES
+ Qt::GuiPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
diff --git a/tests/auto/client/xdgdecorationv1/.prev_CMakeLists.txt b/tests/auto/client/xdgdecorationv1/.prev_CMakeLists.txt
new file mode 100644
index 000000000..a73e1055c
--- /dev/null
+++ b/tests/auto/client/xdgdecorationv1/.prev_CMakeLists.txt
@@ -0,0 +1,32 @@
+# Generated from xdgdecorationv1.pro.
+
+#####################################################################
+## tst_xdgdecorationv1 Test:
+#####################################################################
+
+qt_add_test(tst_xdgdecorationv1
+ SOURCES
+ ../shared/corecompositor.cpp ../shared/corecompositor.h
+ ../shared/coreprotocol.cpp ../shared/coreprotocol.h
+ ../shared/datadevice.cpp ../shared/datadevice.h
+ ../shared/mockcompositor.cpp ../shared/mockcompositor.h
+ ../shared/textinput.cpp ../shared/textinput.h
+ ../shared/xdgshell.cpp ../shared/xdgshell.h
+ tst_xdgdecorationv1.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Server
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_xdgdecorationv1
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-decoration-unstable-v1.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
diff --git a/tests/auto/client/xdgdecorationv1/CMakeLists.txt b/tests/auto/client/xdgdecorationv1/CMakeLists.txt
new file mode 100644
index 000000000..5d26b7fc8
--- /dev/null
+++ b/tests/auto/client/xdgdecorationv1/CMakeLists.txt
@@ -0,0 +1,33 @@
+# Generated from xdgdecorationv1.pro.
+
+#####################################################################
+## tst_xdgdecorationv1 Test:
+#####################################################################
+
+qt_add_test(tst_xdgdecorationv1
+ SOURCES
+ ../shared/corecompositor.cpp ../shared/corecompositor.h
+ ../shared/coreprotocol.cpp ../shared/coreprotocol.h
+ ../shared/datadevice.cpp ../shared/datadevice.h
+ ../shared/mockcompositor.cpp ../shared/mockcompositor.h
+ ../shared/textinput.cpp ../shared/textinput.h
+ ../shared/xdgshell.cpp ../shared/xdgshell.h
+ tst_xdgdecorationv1.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Server
+ Threads::Threads # special case
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_xdgdecorationv1
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-decoration-unstable-v1.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
diff --git a/tests/auto/client/xdgoutput/.prev_CMakeLists.txt b/tests/auto/client/xdgoutput/.prev_CMakeLists.txt
new file mode 100644
index 000000000..1a3afc1e2
--- /dev/null
+++ b/tests/auto/client/xdgoutput/.prev_CMakeLists.txt
@@ -0,0 +1,32 @@
+# Generated from xdgoutput.pro.
+
+#####################################################################
+## tst_xdgoutput Test:
+#####################################################################
+
+qt_add_test(tst_xdgoutput
+ SOURCES
+ ../shared/corecompositor.cpp ../shared/corecompositor.h
+ ../shared/coreprotocol.cpp ../shared/coreprotocol.h
+ ../shared/datadevice.cpp ../shared/datadevice.h
+ ../shared/mockcompositor.cpp ../shared/mockcompositor.h
+ ../shared/textinput.cpp ../shared/textinput.h
+ ../shared/xdgshell.cpp ../shared/xdgshell.h
+ tst_xdgoutput.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Server
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_xdgoutput
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-output-unstable-v1.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
diff --git a/tests/auto/client/xdgoutput/CMakeLists.txt b/tests/auto/client/xdgoutput/CMakeLists.txt
new file mode 100644
index 000000000..855268c94
--- /dev/null
+++ b/tests/auto/client/xdgoutput/CMakeLists.txt
@@ -0,0 +1,33 @@
+# Generated from xdgoutput.pro.
+
+#####################################################################
+## tst_xdgoutput Test:
+#####################################################################
+
+qt_add_test(tst_xdgoutput
+ SOURCES
+ ../shared/corecompositor.cpp ../shared/corecompositor.h
+ ../shared/coreprotocol.cpp ../shared/coreprotocol.h
+ ../shared/datadevice.cpp ../shared/datadevice.h
+ ../shared/mockcompositor.cpp ../shared/mockcompositor.h
+ ../shared/textinput.cpp ../shared/textinput.h
+ ../shared/xdgshell.cpp ../shared/xdgshell.h
+ tst_xdgoutput.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Server
+ Threads::Threads # special case
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_xdgoutput
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-output-unstable-v1.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
diff --git a/tests/auto/client/xdgshell/.prev_CMakeLists.txt b/tests/auto/client/xdgshell/.prev_CMakeLists.txt
new file mode 100644
index 000000000..4dc670e9d
--- /dev/null
+++ b/tests/auto/client/xdgshell/.prev_CMakeLists.txt
@@ -0,0 +1,31 @@
+# Generated from xdgshell.pro.
+
+#####################################################################
+## tst_xdgshell Test:
+#####################################################################
+
+qt_add_test(tst_xdgshell
+ SOURCES
+ ../shared/corecompositor.cpp ../shared/corecompositor.h
+ ../shared/coreprotocol.cpp ../shared/coreprotocol.h
+ ../shared/datadevice.cpp ../shared/datadevice.h
+ ../shared/mockcompositor.cpp ../shared/mockcompositor.h
+ ../shared/textinput.cpp ../shared/textinput.h
+ ../shared/xdgshell.cpp ../shared/xdgshell.h
+ tst_xdgshell.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Server
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_xdgshell
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
diff --git a/tests/auto/client/xdgshell/CMakeLists.txt b/tests/auto/client/xdgshell/CMakeLists.txt
new file mode 100644
index 000000000..025013e9f
--- /dev/null
+++ b/tests/auto/client/xdgshell/CMakeLists.txt
@@ -0,0 +1,32 @@
+# Generated from xdgshell.pro.
+
+#####################################################################
+## tst_xdgshell Test:
+#####################################################################
+
+qt_add_test(tst_xdgshell
+ SOURCES
+ ../shared/corecompositor.cpp ../shared/corecompositor.h
+ ../shared/coreprotocol.cpp ../shared/coreprotocol.h
+ ../shared/datadevice.cpp ../shared/datadevice.h
+ ../shared/mockcompositor.cpp ../shared/mockcompositor.h
+ ../shared/textinput.cpp ../shared/textinput.h
+ ../shared/xdgshell.cpp ../shared/xdgshell.h
+ tst_xdgshell.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Server
+ Threads::Threads # special case
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_xdgshell
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
diff --git a/tests/auto/client/xdgshellv6/.prev_CMakeLists.txt b/tests/auto/client/xdgshellv6/.prev_CMakeLists.txt
new file mode 100644
index 000000000..ee3514f58
--- /dev/null
+++ b/tests/auto/client/xdgshellv6/.prev_CMakeLists.txt
@@ -0,0 +1,37 @@
+# Generated from xdgshellv6.pro.
+
+#####################################################################
+## tst_client_xdgshellv6 Test:
+#####################################################################
+
+qt_add_test(tst_client_xdgshellv6
+ SOURCES
+ ../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
+ ../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
+ ../shared_old/mockinput.cpp ../shared_old/mockinput.h
+ ../shared_old/mockiviapplication.cpp ../shared_old/mockiviapplication.h
+ ../shared_old/mockoutput.cpp ../shared_old/mockoutput.h
+ ../shared_old/mocksurface.cpp ../shared_old/mocksurface.h
+ ../shared_old/mockwlshell.cpp ../shared_old/mockwlshell.h
+ ../shared_old/mockxdgshellv6.cpp ../shared_old/mockxdgshellv6.h
+ tst_xdgshellv6.cpp
+ INCLUDE_DIRECTORIES
+ ../shared_old
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Client
+ Wayland::Server
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_client_xdgshellv6
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/fullscreen-shell-unstable-v1.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/ivi-application.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-shell-unstable-v6.xml
+)
diff --git a/tests/auto/client/xdgshellv6/CMakeLists.txt b/tests/auto/client/xdgshellv6/CMakeLists.txt
new file mode 100644
index 000000000..fe3588899
--- /dev/null
+++ b/tests/auto/client/xdgshellv6/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from xdgshellv6.pro.
+
+#####################################################################
+## tst_client_xdgshellv6 Test:
+#####################################################################
+
+qt_add_test(tst_client_xdgshellv6
+ SOURCES
+ ../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
+ ../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
+ ../shared_old/mockinput.cpp ../shared_old/mockinput.h
+ ../shared_old/mockiviapplication.cpp ../shared_old/mockiviapplication.h
+ ../shared_old/mockoutput.cpp ../shared_old/mockoutput.h
+ ../shared_old/mocksurface.cpp ../shared_old/mocksurface.h
+ ../shared_old/mockwlshell.cpp ../shared_old/mockwlshell.h
+ ../shared_old/mockxdgshellv6.cpp ../shared_old/mockxdgshellv6.h
+ tst_xdgshellv6.cpp
+ INCLUDE_DIRECTORIES
+ ../shared_old
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::WaylandClientPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandClient
+ Wayland::Client
+ Wayland::Server
+ Threads::Threads # special case
+)
+
+qt6_generate_wayland_protocol_server_sources(tst_client_xdgshellv6
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/fullscreen-shell-unstable-v1.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/ivi-application.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-shell-unstable-v6.xml
+)
diff --git a/tests/auto/compositor/CMakeLists.txt b/tests/auto/compositor/CMakeLists.txt
new file mode 100644
index 000000000..a55266517
--- /dev/null
+++ b/tests/auto/compositor/CMakeLists.txt
@@ -0,0 +1,3 @@
+# Generated from compositor.pro.
+
+add_subdirectory(compositor)
diff --git a/tests/auto/compositor/compositor/CMakeLists.txt b/tests/auto/compositor/compositor/CMakeLists.txt
new file mode 100644
index 000000000..511550e99
--- /dev/null
+++ b/tests/auto/compositor/compositor/CMakeLists.txt
@@ -0,0 +1,45 @@
+# Generated from compositor.pro.
+
+#####################################################################
+## tst_compositor Test:
+#####################################################################
+
+qt_add_test(tst_compositor
+ SOURCES
+ mockclient.cpp mockclient.h
+ mockkeyboard.cpp mockkeyboard.h
+ mockpointer.cpp mockpointer.h
+ mockseat.cpp mockseat.h
+ mockxdgoutputv1.cpp mockxdgoutputv1.h
+ testcompositor.cpp testcompositor.h
+ testkeyboardgrabber.cpp testkeyboardgrabber.h
+ testseat.cpp testseat.h
+ tst_compositor.cpp
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::WaylandCompositorPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WaylandCompositor
+ Wayland::Client
+ Wayland::Server
+)
+
+qt6_generate_wayland_protocol_client_sources(tst_compositor
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/idle-inhibit-unstable-v1.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/ivi-application.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/viewporter.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/wayland.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-output-unstable-v1.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-shell.xml
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_compositor CONDITION QT_FEATURE_xkbcommon
+ PUBLIC_LIBRARIES
+ XKB::XKB
+)